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

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 one year ago
Votes Newest

Answers 3

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

Posted one year 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 one year 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 one year ago