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 Have An Artifact Which Is A Path To The Outputs Of The Model That Was Trained And Its Used In Another Task Later On But As A String, But When I Use Upload Artifact It Uploads The Whole Folder And Not Just As A String, Is There Are Way To Just Upload

Hi,
I have an artifact which is a path to the outputs of the model that was trained and its used in another task later on but as a string, but when i use upload artifact it uploads the whole folder and not just as a string, is there are way to just upload the path as a string without the who folder?
for now I added : in the start to dirty the path string for example ':/home/user/path/to/folder' and then it cannot find the file path.

  
  
Posted 10 months ago
Votes Newest

Answers 9


How about trying to use register_artifact None ?

  
  
Posted 10 months ago

Btw in pipelines is there a way to get the pipelines main task id? for example <step_name>.id gets me the stages id but I need the main pipeline that's running all the tasks

  
  
Posted 10 months ago

@<1523701295830011904:profile|CluelessFlamingo93> , just so I understand - you want to upload a string as the artifact?

  
  
Posted 10 months ago

I reviewed this example and sadly there isn't anything about how to upload a path as a string only.

  
  
Posted 10 months ago

yep, just a string which is a path but not to upload the folder

  
  
Posted 10 months ago

That's the controller. I would guess if you fetch the controller you can get it's id as well

  
  
Posted 10 months ago

Also looked at it but its only supported registered artifact object type is a pandas.DataFrame and not strings.
I think I'll keep it with ':' in the start of the string and that way it won't upload the folder

  
  
Posted 10 months ago

Solved it by doing clearml.Task.current_task().id but thank you

  
  
Posted 10 months ago

I suggest taking a look at this example - None

  
  
Posted 10 months ago
596 Views
9 Answers
10 months ago
10 months ago
Tags