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
Hello! When Running This Code:

Hello! When running this code:

task = clearml.Task.init(project_name='test-proj', task_name='test')
out_model = clearml.OutputModel(task=task, framework='PyTorch', name=task.name + ': best')
out_model.set_upload_destination(uri='/some/path')
out_model.set_metadata(key='input_size', value='640')

I get the error in the snippet. Am i doing something wrong? Clearml version = 1.9.1

  
  
Posted one year ago
Votes Newest

Answers 5


Hi @<1523702652678967296:profile|DeliciousKoala34>
What's the clearml-server version you are working with?
Can you check with the latest RC?

pip3 install clearml==1.9.2rc2
  
  
Posted one year ago

Hi. Sorry for the very late reply. I just tried and yes it works. Thanks for the help!

  
  
Posted one year ago

Please let me know if this works!

  
  
Posted one year ago

Unfortunately, the same issue

  
  
Posted one year ago

Hi @<1523702652678967296:profile|DeliciousKoala34> ! Looks like this is a bug in set_metadata . The model ID is not set, and set_metadata doesn't set it automatically. I would first upload the model file, then set the meta-data to avoid this bug. You can call update_weights to do that. None

  
  
Posted one year ago
954 Views
5 Answers
one year ago
one year ago
Tags
Similar posts