DeliciousSeal67 , something along these lines:task.upload_artifact('<ARTIFACT_NAME>', artifact_object=os.path.join('<FOLDER>', '<FILE_NAME>'))
So in your case it would be along the lines oftask.upload_artifact('trained_model', 'model_folder/best_mode.pt')
Also, this might be a little stupid sorry, but your torch save command saves the model in the current folder, whereas you give clearml the 'model_folder/model' path instead. Could it be that the path is just incorrect?
Thanks for your answer CostlyOstrich36 , but how exactly ?
Hi 🙂
Please try specifying the file itself explicitly