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, I Am Getting An Error While Running

Hi, I am getting an error while running task.mark_stopped() , any idea why? (clearml 1.0.2, clearml-agent 1.0.0, python 3.6)
File "/home/machine/.clearml/venvs-builds.1/3.6/lib/python3.6/site-packages/training/spot_instance_tryout.py", line 77, in _handle_interrumption self.clearml_task.mark_stopped() File "/home/machine/miniconda3/envs/py36/lib/python3.6/site-packages/clearml/task.py", line 1275, in mark_stopped self.flush(wait_for_uploads=True) File "/home/machine/miniconda3/envs/py36/lib/python3.6/site-packages/clearml/task.py", line 1299, in flush self.__reporter.flush() File "/home/machine/miniconda3/envs/py36/lib/python3.6/site-packages/clearml/backend_interface/metrics/reporter.py", line 200, in flush self._report_service.flush() AttributeError: 'NoneType' object has no attribute 'flush'I am doing:
self.clearml_task.add_tags("spot-restart") self.clearml_task.mark_stopped() # <--- FAILS HERE self.clearml_task.close()

  
  
Posted 3 years ago
Votes Newest

Answers 3


Hi JitteryCoyote63
could you check if the problem exists in the latest RC?
pip install clearml==1.0.4rc1

  
  
Posted 3 years ago

Yey! 🙂

  
  
Posted 3 years ago

Hi AgitatedDove14 , with 1.0.4rc1 it worked, thanks 😄

  
  
Posted 3 years ago