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
For Some Reason, When I Try To Load A Dataset (Dataset.Get), Method _Query Task Is Called And This Method Try To Call _Send Method Of Interfacebase Class. This Method May Return None And This Case Is Not Handled By The _Query_Task Method That Tries To Rea

For some reason, when i try to load a dataset (Dataset.get), method _query task is called and this method try to call _send method of InterfaceBase class.
This method may return None and this case is not handled by the _query_task method that tries to read directly result.
In my case, result is None and my Task crash.
I'm inside a docker launched by clearml_agent.

  
  
Posted one year ago
Votes Newest

Answers 8


ClearML results page: http://clearml.10.68.0.250.nip.io/projects/300ec77013504f51a7f295226c3f7e40/experiments/5418cf58b64f425a9a17fbd4af6cfee8/output/log
Traceback (most recent call last):
File "/app/.clearml/venvs-builds/3.8/code/__init__.py", line 287, in <module>
[train_data, test_data, train_loader, test_loader, nb_class] = import_data(root_database, train_path, test_path,
File "/app/.clearml/venvs-builds/3.8/code/__init__.py", line 153, in import_data
root = Dataset.get(
File "/app/.clearml/venvs-builds/3.8/lib/python3.8/site-packages/clearml/datasets/dataset.py", line 1153, in get
tasks = Task.get_tasks(
File "/app/.clearml/venvs-builds/3.8/lib/python3.8/site-packages/clearml/task.py", line 967, in get_tasks
return cls.__get_tasks(task_ids=task_ids, project_name=project_name, tags=tags,
File "/app/.clearml/venvs-builds/3.8/lib/python3.8/site-packages/clearml/task.py", line 3749, in __get_tasks
queried_tasks = cls._query_tasks(
File "/app/.clearml/venvs-builds/3.8/lib/python3.8/site-packages/clearml/task.py", line 3817, in _query_tasks
ret_tasks.extend(res.response.tasks)
TypeError: 'NoneType' object is not iterable

  
  
Posted one year ago

As my clearml server is run using docker, i have no idea where http://clearml.10.68.0.250.nip.io/projects/300ec77013504f51a7f295226c3f7e40/experiments/5418cf58b64f425a9a17fbd4af6cfee8/output/log is exactly stored.

  
  
Posted one year ago

But i don't want to create a new dataset, my dataset exists and has already been downloaded by a previous task.

  
  
Posted one year ago

Can you try to add the flag
auto_create=Truewhen you call Dataset.get ?

  
  
Posted one year ago

for clearml package i use the 1.4.1.

  
  
Posted one year ago

Hello MotionlessCoral18 . I have a few questions that might help us find out why you experience this problem:
Is there any chance you are running the program in offline mode? Is there any other message being logged that might help? The error messages might include Action failed , Failed sending , Retrying, previous request failed , contains illegal schema Are you able to connect to the backend at all from the program you are trying to get the dataset?
Thank you!

  
  
Posted one year ago

Hello MotionlessCoral18 ,

Can you please add a log with the failure?

  
  
Posted one year ago

what versions do you have for the clearml packages ?

  
  
Posted one year ago
694 Views
8 Answers
one year ago
one year ago
Tags