question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Delete example tasks, projects, and models from ClearML server

See original GitHub issue

Trying to remove the example tasks, projects, and models from ClearML server (Docker image), but it cannot be done from the UI, so I tried to do it using the API:

from clearml.backend_api.session.client import APIClient
client = APIClient()
print(client.tasks.get_all())

# Select one of the shown task IDs
client.tasks.delete("e8e09741583b4a0499baf588eb3f8bdb", force=True)

But I get this error:

APIError: APIError: code 403/21: Forbidden (modification not allowed) (cannot modify public task(s), ids=('e8e09741583b4a0499baf588eb3f8bdb',))

Is there something else I need to do for removing all those examples?

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ainoamcommented, Nov 10, 2022

Thanks for chiming in @maria8899.

I think we’ll add a “hide examples” control to the UI Settings page in one of the coming versions - Does that makes sense? @fjean ?

0reactions
maria8899commented, Nov 18, 2022

Yes! Thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cleanup Service - ClearML
APIClient class to implement a service that deletes old archived tasks and their associated files: model checkpoints, other artifacts, and debug samples. Modify ......
Read more >
Deleting project/experiment #84 - allegroai/clearml - GitHub
Hi, My team uses trains systematically even when prototyping. Thus we have a lot of non-relevant data (images, models) that we would like...
Read more >
MLOps: From Zero to Hero in Two Lines of Code with ClearML
ClearML (formerly Allegro Trains) is the open-source platform that automates and simplifies developing and managing machine learning ...
Read more >
clearml Changelog - pyup.io
Return stub object from `Task.init()` if no `clearml.conf` file is found - Improve manual model uploading example - Remove deprecated demo server. Bug...
Read more >
Track Your Experiments With ClearML | by Wasilios Goutas
The ClearML-server is been connected when running your Python script ... you will find an additional project call 'ClearML Examples' which ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found