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
Hi. Shoulf This Command Succeed In The Presence Of Project

Hi.
Shoulf this command succeed in the presence of project lavi-testing and absence of dataset tmp_datset within it?
from clearml import Dataset tmp_dataset = Dataset.get( dataset_project="lavi-testing", dataset_name="tmp_datset", auto_create=True )It fails with
ValueError: No projects found when searching forlavi-testing/.datasets/tmp_datsetA similar call with an existing dataset_name and same dataset_project works fine! (the project exists)
(running without a Task)

  
  
Posted 2 years ago
Votes Newest

Answers 3


well it should fail, but I think the error message should be fixed 🙂
maybe:
ValueError: dataset 'tmp_datset' not found in projectlavi-testing' `wdyt?

  
  
Posted 2 years ago

That would be a better message however, I must have misunderstood the meaning of auto_create=True
I thought that flag made the get function into a "get-or-create"

  
  
Posted 2 years ago

Hmm I think you are correct
:param auto_create: Create new dataset if it does not exist yetit should have created it, this seems like a bug, I'll make sure to pass along 🙂

  
  
Posted 2 years ago