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 There, As A Last Step Of The Model Training Pipeline, I Upload It To Clearml And Set The

Hi there,
As a last step of the model training pipeline, I upload it to ClearML and set the auto_delete_file

filepath = f'models/{model_id}/model.sav' joblib.dump(model, filepath, compress=True) task.update_output_model(model_path=filepath, name='model', auto_delete_file=True)
But when I try to query it using get_local_copy() or get_weights() I get a local path of the model.
So, the model was not uploaded? It saves only the local path?

Can't I store it on ClearML server? like done with images, dataframes, etc.

  
  
Posted one year ago
Votes Newest

Answers 3


Hi IrritableGiraffe81 ,

Please refer to this:
https://clear.ml/docs/latest/docs/references/sdk/task#update_output_model

First, ClearML uploads the file to the preconfigured output destination (see the Task’s

output.destination

property or call the

setup_upload

method)

I think you need to provide output_destination=True in your Task.init()

  
  
Posted one year ago

IrritableGiraffe81 I think CostlyOstrich36 meant output_uri

  
  
Posted one year ago

This is not a valid parameter: https://clear.ml/docs/latest/docs/references/sdk/task#taskinit

Also I did not find any usage example of the setup_upload method

Thanks anyway

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