Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
I Am Training A Model With Pytorch Lightning. I Save

I am training a model with Pytorch lightning. I save .ckpt checkpoints. But they never get uploaded to clearml! How do I make clearml detect the checkpoints?
I tried:

    task = Task.init(
        project_name=args.project,
        task_name=f"Train {args.model_name}",
        task_type=TaskTypes.training,
        output_uri=True,
        auto_connect_frameworks={
            "pytorch": ["*.pt", "*.pth", "*.ckpt"],
            "lightning": ["*.ckpt"],
            "pytorch_lightning": ["*.ckpt"],
            "pytorch-lightning": ["*.ckpt"],
            "pytorch lightning": ["*.ckpt"],
        },
    )

But it doesnt work

  
  
Posted one year ago
Votes Newest

Answers 5


Looking through history I found this link: None

Tldr: ClearML doesn’t support lightning , but supports pytorch_lightning . Downgrading from the new interface to the old one fixed my issue

  
  
Posted one year ago

I did that, but it didnt work

  
  
Posted one year ago

@<1523702786867335168:profile|AdventurousButterfly15> , to upload artifacts automatically you can use the output_uri parameter of Task.init()
None

  
  
Posted one year ago

Hi @<1523702786867335168:profile|AdventurousButterfly15> , are the models logged in the artifacts section?

  
  
Posted one year ago

Yes

  
  
Posted one year ago
980 Views
5 Answers
one year ago
one year ago
Tags