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 Problem With Retrieving Models From Storage I Have Following Code

Hi, I have problem with retrieving models from storage
I have following code

model = Model(model_id='my_model_id')
model.get_local_copy(force_download=True)

and it works, but it works single time only. When I download freshly uploaded model it works just fine, but when I remove local copy of a file and try to download it again it doesn't do anything. Have any of you had similar problem?

  
  
Posted 2 months ago
Votes Newest

Answers 14


I just did, but didn't help

  
  
Posted 2 months ago

delete ~/.clearml/ and try again

  
  
Posted 2 months ago

the directory also haven't been recreated after I tried to download model again

  
  
Posted 2 months ago

I was looking for the model in ~/.cache and ~/.mlflow, but I couldn't find the model in any of those location. I also checked venv directory

  
  
Posted 2 months ago

yeah, it downloaded it to the same directory as code it was ran from

  
  
Posted 2 months ago

I can try create it, but it will be in about 4-5h cause I got to go soon

  
  
Posted 2 months ago

Can you add your clearml.conf file here?

  
  
Posted 2 months ago

I was suspecting there is different directory where it could be stored, but find didn't find it so I assumed it's not there

  
  
Posted 2 months ago

you deleted the model from the same directory as you ran from the code but you didn't delete it from the cache folder?

  
  
Posted 2 months ago

obscure any secrets of course 🙂

  
  
Posted 2 months ago

Hi @<1858319200146165760:profile|PoisedDeer30> , can you provide a standalone snippet that reproduces this behaviour?

Also do you have a log of this? From where did you delete it?

  
  
Posted 2 months ago

To avoid spam I sent the code to the pastebin None
the code for model itself doesn't make much sense, but it's not about it

After running this code, I run the code from my 1st message with id copied from clearml app. I deleted it from local storage (stayed untouched on the clearml web app)

  
  
Posted 2 months ago

I am not sure if I have this file anywhere. I was not sure if I should create it on my own from scratch, or it will create automatically, so I didn't touch it yet. I set up all my stuff with environment variables, but all it has except API keys is

%env CLEARML_WEB_HOST=

%env CLEARML_API_HOST=

%env CLEARML_FILES_HOST=
  
  
Posted 2 months ago

by local storage you mean deleted it from the cache folder it was downloaded to?

  
  
Posted 2 months ago
705 Views
14 Answers
2 months ago
2 months ago
Tags
Similar posts