Yes & Yes.task.upload_artifact('test_artifact', artifact_object='foobar')
You can save a string, however please note that in the end it will be saved as a file and not a pythonic object. If you want to keep your object, you can pickle it 🙂
Alright, but is it saved as a text file or pickle file?
AgitatedDove14 Just wanted to confirm in what kind of file is the string artifact stored in? txt file or pkl file?
Hi VexedCat68
txt file or pkl file?
If this is a string , it just stored it (not as a file, this is considered a "link")
https://github.com/allegroai/clearml/blob/12fa7c92aaf8770d770c8ed05094e924b9099c16/clearml/binding/artifacts.py#L521