I think this is the API you're looking for 🙂
This should return what you're looking for. You can see a usage example in the developer tools when viewing debug samples in the UI
is https://clear.ml/docs/latest/docs/faq/#clearml-api the only place to see how to use the backend_api?
I’d like to programmatically (e.g. jupyter notebook) retrieve files/info related to a task from the server
however, I’m not able to get the audio excerpts uploaded as debug samples. Your suggestion above requires to use REST api via
clearml.backend_api but I’m not very much familiar with it
some actions can be done using
clearml.Task , for instance get a local copy of a model, pull down the scalars etc.
RattyLouse61 , the API will retrieve the URLs for the debug samples. You can then download them manually. If you want these debug samples accessible by other tasks via SDK you might need to save them as artifacts, however you won't have visibility via the UI for those (like playing audio in debug samples section)
here is a code example, i hope it will help you to understand better the backend_api.
` from clearml import Task, Logger
from clearml.backend_api import Session
from clearml.backend_api.services import events
task = Task.get_task('xxxxx', 'xxxx')
session = Session()
res = session.send(events.GetDebugImageSampleRequest(
hope it will help. keep me informed 🙂
thank you so much SweetBadger76
that works 🙂
RattyLouse61 , from what I can find - Yes. I've seen some examples shared on the community as well. Is there something specific you're looking for?