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
Unanswered
Hi Everyone. How Can I Get Metadata For Datasets From An Entire Project? I See The Opportunity To Work With Only One Dataset


@<1523701070390366208:profile|CostlyOstrich36> I did it,, but I think its not optimal))

This is how I got information about FieldNet project:
from clearml import Task, Dataset

all_taks = Task.get_tasks()

FieldNet_tasks = {}
for task in all_taks:
name = task.name
task_id = task.task_id
if 'FieldNet' in name:
if name in FieldNet_tasks:
# get last dataset version
task_old_version = Task.get_task(task_id=FieldNet_tasks[name]).get_parameters_as_dict()['properties']['version']
task_new_version = Task.get_task(task_id=task_id).get_parameters_as_dict()['properties']['version']
if int(task_new_version.split('.')[-1]) > int(task_old_version.split('.')[-1]):
FieldNet_tasks[name] = task_id
else:
FieldNet_tasks[name] = task_id

  
  
Posted one year ago
135 Views
0 Answers
one year ago
one year ago