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
How Can I Stop Clearml From Uploading Temporary Models? I Am Running Cross_Validation, Training A Bunch Of Models In A Loop Like This:

How can I stop clearml from uploading temporary models?

I am running cross_validation, training a bunch of models in a loop like this:

models = []
for X_train, Y_train, X_test, Y_test in cv:
  model = TempModel()
  model.fit(X_train, Y_train)
  model.eval(X_test, Y_test)
  models.append(model)

final_model = get_final_model(models)
joblib.dump(final_model, 'model.joblib')

What happens: ClearML uploads each model from inside the loop
What I want: only upload the model I explicitly dump, the final model

How can I control this behaviour?

  
  
Posted one year ago
Votes Newest

Answers 4


Hi @<1523702786867335168:profile|AdventurousButterfly15>

I am running cross_validation, training a bunch of models in a loop like this:

Use the wildcard or disable all together:

task = Task.init(..., auto_connect_frameworks={"joblib": False})

You can also do

task = Task.init(..., auto_connect_frameworks={"joblib": ["realmodelonly.pkl", ]})
  
  
Posted one year ago

@<1523701205467926528:profile|AgitatedDove14> thanks!

  
  
Posted one year ago

"realmodelonly.pkl"

should be the full path, or just the file name?

  
  
Posted one year ago

should be the full path, or just the file name?

just file name, this is basically fname matching

  
  
Posted one year ago
1K Views
4 Answers
one year ago
one year ago
Tags