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 If I Try To Create A Dataset From Code, As Shown In This Example I Have Two Questions:

None
Hello if I try to create a dataset from code, as shown in this example I have two questions:

  • Closing the data doesnt work: dataset.close() AttributeError: 'Dataset' object has no attribute 'close'
  • How can I add additional information, e.g. debug samples, or scalar to the data to be shown in the UI? Logger.current_logger() is not working
  
  
Posted 3 years ago
Votes Newest

Answers 9


Thanks for your help Martin!

  
  
Posted 3 years ago

There is not dataset.close () 🙂

  
  
Posted 3 years ago

Sorry my bad, you are looking for:
None

  
  
Posted 3 years ago

Can you test with the latest RC:
pip install clearml==1.0.3rc0

  
  
Posted 3 years ago

clearml 1.0.2

  
  
Posted 3 years ago

Which clearml version are you using ?

  
  
Posted 3 years ago

Not much more:
Uploading compressed dataset changes (1 files, total 7.56 KB) to None
Upload completed (7.56 KB)
Traceback (most recent call last):
File "/mnt/c/Users/tbudras/Documents/local-development-code/test_data.py", line 11, in <module>
dataset.close()
AttributeError: 'Dataset' object has no attribute 'close'

  
  
Posted 3 years ago

How can I add additional information, e.g. debug samples, or scalar to the data to be shown in the UI?  Logger.current_logger() is not working

Yes 🙂
dataset.get_logger() to the rescue

  
  
Posted 3 years ago

Closing the data doesnt work: dataset.close() AttributeError: 'Dataset' object has no attribute 'close'

Hi @<1523714677488488448:profile|NastyOtter17> could you send he full exception ?

  
  
Posted 3 years ago