Can I suggest using the sdk? It will do both, log it to the task and will upload it to any storage wanted, like in this example
With the API you can register an artifact to a task, but the upload will be done separately with the ClearML sdk (the sdk wrap the registration and upload, with some other things inside the upload_artifact
function).
I want to upload an image that will be used from a task, so I was thinking uploading it to a task and then retrieving it as an artifact from other tasks would work, unless there's a better way
Thanks, I know it can be done with the SDK. I was hoping there was also a way to upload through the REST API as I'm trying to do it from a non-python app.
Hi @<1747066118549278720:profile|WhoppingToad71> , can you share the use case? You want to upload the file to some storage? Or upload to a task?