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'M New To Clearml, And Like It A Lot, Except That The Default "Example" Projects That Come With The Self-Hosted Clearml Server Are Read-Only And I Can'T Archive/Delete Them From Either The Webui Or The Sdk. Maybe I'M A Little Ocd, But This Really Bu

Hi, I'm new to ClearML, and like it a lot, except that the default "Example" projects that come with the self-hosted ClearML Server are read-only and I can't archive/delete them from either the WebUI or the SDK. Maybe I'm a little ocd, but this really bugs me. Is there I way I can remove these? Thanks

  
  
Posted 2 years ago
Votes Newest

Answers 7


Hi TroubledJellyfish71 ,
Well, you can disable these when you install the server (i.e. make sure they will not be installed at all) by changing the following line in the docker-compose file to "false" :
CLEARML__apiserver__pre_populate__enabled: "true"On an already-installed server, you can only remove them manually by deleting them from the database 😕

  
  
Posted 2 years ago

Perfect, I'll just reinstall then, don't have any important models to lose yet. Thanks!

  
  
Posted 2 years ago

Yeah, look s about right 🙂

  
  
Posted 2 years ago

Worked like a charm

  
  
Posted 2 years ago

Something like this, SuccessfulKoala55 ?
Open a bash session on the docker ( docker exec -it <docker id> /bin/bash ) Open a mongo shell ( mongo ) Switch to backend db ( use backend ) Get relevant project IDs ( db.project.find({"name": "ClearML Examples"}) and db.project.find({"name": "ClearML - Nvidia Framework Examples/Clara"}) ) Remove relevant tasks ( db.task.remove({"project": "<project_id>"}) ) Remove project IDs ( db.project.remove({"name": ...}) )

  
  
Posted 2 years ago

Hi UnevenDolphin73 , the quickest way would be to locate the relevant project in mongodb under the backend.project collection, delete the project document and any task documents in the backend.task collection who'se project field refers to the project in question.
This would of course not delete the example experiment's metrics and files, but these are relatively small and should not pose any problem.

  
  
Posted 2 years ago

Hi SuccessfulKoala55 !
Could you elaborate on how best to delete these from the database?

  
  
Posted 2 years ago
1K Views
7 Answers
2 years ago
one year ago
Tags