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
Question About Clearml Models And Metadata. I'M Using The Web Interface For Clearml. I Create An Trained An Output_Model That Was Stored In Clearml From A Training Process And On The Web App I Manually Added Some Metadata To The Model. In A Separate Task

Question about ClearML models and metadata.

I'm using the web interface for ClearML. I create an trained an output_model that was stored in ClearML from a training process and on the web app I manually added some metadata to the model. In a separate task, I loaded the model as an input_model as seen here:

    if cfg.clearml.get("model_url", None):
        # Get the model info from the remote storage
        input_model = InputModel().import_model(weights_url=cfg.clearml.model_url)

        # connect the model to the current task
        input_model.connect(task)

        # download the model to a temporary local folder
        model_path = input_model.get_local_copy()

Now when I try and run input_model.get_all_metadata() I get {}. I expected to get the metadata. What am I doing wrong? 😄

  
  
Posted one year ago
Votes Newest

Answers 7


Hi @<1545216070686609408:profile|EnthusiasticCow4> , do you still see the metadata in the UI?

  
  
Posted one year ago

Ah, I think I see the issue. In my head I was crossing ID with URL.

  
  
Posted one year ago

In this case it's the ID of the "output" model from the first task.

  
  
Posted one year ago

If I wanted to do this with the ID, how would I approach it?

  
  
Posted one year ago

OK, what is cfg.clearml.model_url ?

  
  
Posted one year ago

On the original model.

  
  
Posted one year ago

Yes.

  
  
Posted one year ago
1K Views
7 Answers
one year ago
one year ago
Tags
Similar posts