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 Clearml Team, I Am Trying To Figure Out The Best Practice To Keep Track Of Different Models. The Lineage Functionality In The Models Tap Is Generally Helpful. But First Of All, I Need To Be Able To Find Which Project A Model Belongs To, Then Navigate T

Hi clearml team, I am trying to figure out the best practice to keep track of different models. The lineage functionality in the models tap is generally helpful. But first of all, i need to be able to find which project a model belongs to, then navigate to the lineage information. Is there a way to retrieve which project a model belongs to given a model_id? Or should I always keep track of (which project, which model_id) manually somewhere for navigating to a model's lineage information?

  
  
Posted one day ago
Votes Newest

Answers 9


Hi ScrawnyCrocodile51 , not sure I understand. You have some model ID and you want to find it's project? Via code or UI?

  
  
Posted one day ago

Hi John, exactly. If I have the model_id, I want to find its project. Do you have tip to do it in both way?

  
  
Posted one day ago

I think it should have an id attribute so either model.id or maybe model.data.id if you fetch the model object

  
  
Posted one day ago

m = Model(model_id)
print("Model.id:", m.id) # <- this is returning model_id, but I need project_id or project_name 

print("Model.data:", m.data) # <- AttributeError: 'Model' object has no attribute 'data'
  
  
Posted one day ago

My bad, you're looking for the project attribute

  
  
Posted one day ago

model.project

  
  
Posted one day ago

Aha I see. that works to retrieve the project id.

A side question, I notice in the clearml design, Task, Model, Dataset those object all have its base model, but not project concept. In terms of project, is there a quick way to retrieve project name based on its id?

  
  
Posted one day ago

I think the best way would be to use the APIClient to get the project name

  
  
Posted 14 hours ago

Thanks, that works

  
  
Posted 13 hours ago
14 Views
9 Answers
one day ago
3 hours ago
Tags
Similar posts