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'M Trying To Implement A "Keep N Best Checkpoints" Logic In My Project. (It Was Discussed Here Some Time Ago But I Can'T See The Thread Due To Slack Limitations) In That Thread, A Function

Hi!
I'm trying to implement a "keep N best checkpoints" logic in my project. (It was discussed here some time ago but I can't see the thread due to Slack limitations) In that thread, a function https://github.com/allegroai/clearml/blob/4e2e6a4d6b43b6c7cd9ab8ad8dcb9f1b415946f5/clearml/backend_interface/task/task.py#L1523 https://github.com/allegroai/clearml/blob/4e2e6a4d6b43b6c7cd9ab8ad8dcb9f1b415946f5/clearml/backend_interface/task/task.py#L1523 https://github.com/allegroai/clearml/blob/4e2e6a4d6b43b6c7cd9ab8ad8dcb9f1b415946f5/clearml/backend_interface/task/task.py#L1523 was recommended which appeared to be quite helpful to me.
At the same time I found out that the responsibility for artifacts saving lies with task._artifacts_manager, which has its own list of artifacts which in turn isn't impacted by the task._ delete_ artifacts() function. This results in the "resurrection" of the artifacts deleted using the function in the following scenario: task.upload_artifact(artifact_A) -> task. delete_ artifacts([artifact_A]) -> task.upload_artifact(artifact_B) . In this case, in spite of the removal of artifact_A, it will show again in the WEB UI for the task.
So could you kindly tell me if there's a way to remove an artifact from the task altogether?

  
  
Posted one year ago
Votes Newest

Answers 3


Tried it, the outcome's still the same though: the artifacts deleted using the task._delete_artifacts() function resurrect on further calls of task.upload_artifact() on new artifacts

  
  
Posted one year ago

Thank you! I'll try it out and let you know the result

  
  
Posted one year ago
665 Views
3 Answers
one year ago
one year ago
Tags
Similar posts