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
I Get This Error When I Try To Add A Batch To A In My Clearml-Dataset. Generating Sha2 Hash For 100 Files Hash Generation Completed 2021-09-10 10:49:13,042 - Clearml.Task - Error - Action Failed <400/110: Tasks.Add_Or_Update_Artifacts/V2.10 (Invalid Task

I get this error when I try to add a batch to a in my clearml-dataset.

Generating SHA2 hash for 100 files
Hash generation completed
2021-09-10 10:49:13,042 - clearml.Task - ERROR - Action failed <400/110: tasks.add_or_update_artifacts/v2.10 (Invalid task status: expected=created, status=stopped)> (task=e233952c552d4b1aaadc1cb6f5c83253, artifacts=[{'key': 'state', 'type': 'JSON', 'uri': ' http://192.168.15.118:8081/MORPH/YOLO_V5_DETECTOR.e233952c552d4b1aaadc1cb6f5c83253/artifacts/state/state.json ', 'content_size': 155233, 'hash': '127a41321871a0141e5542c327475ab120b55e44c6fbe67830e9175ae369c30f', 'timestamp': 1631252953, 'type_data': {'preview': 'Dataset state\nFiles added/modified: 395 - total size 3.29 MB\nCurrent dependency graph: {\n "e233952c552d4b1aaadc1cb6f5c83253": []\n}\n', 'content_type': 'application/json'}}], force=True)

  
  
Posted 3 years ago
Votes Newest

Answers 10


Hi VexedCat68 , what the dataset task status?

  
  
Posted 3 years ago

I'm not sure what dataset task is. I mainly just created dataset using ClearML.Dataset.Create

  
  
Posted 3 years ago

after creating, I tried adding batch to it and got this error

  
  
Posted 3 years ago

Hi VexedCat68
Could it be you are trying to update a committed dataset?

  
  
Posted 3 years ago

I don't think so. Also I fixed it for now. Let me mention the fix. Gimme a bit

  
  
Posted 3 years ago

'dataset' is the name of my Dataset Object

  
  
Posted 3 years ago

so code goes

  
  
Posted 3 years ago

dataset._task.mark_started()

  
  
Posted 3 years ago

Yep that will fi it, nice one!!
BTW I think we should addtge ability to continue aborted datasets, wdyt?

  
  
Posted 3 years ago

If people feel it helps them, why not.

  
  
Posted 3 years ago
1K Views
10 Answers
3 years ago
one year ago
Tags