Hmm, I can't really follow your explanation. The removed file SHOULD not exist right? 😅 And what do you mean exactly with the last sentence? An artifact is an output generated as part of a task. Can you show me what you mean with screenshots for example?
Hi ExasperatedCrab78 ,
Thanks for your quick response. 🙂
I did not set dataset.finalize()
actually. the dataset status stays running status.
So I execute dataset.remove_files(file_name, verbose=True)
it does not work 😅
Sorry, my English is not well.
I use the company's laptop so I can't upload the screenshots because of permission.
Let me think about how to explain this problem.
Hi, ZippyWalrus56 , can you add a full print of your console log?
Also if possible provide a code snippet, that can help understand the problem 🙂
No error message actually.
I print data_set.list_added_files()
, the removed file does not exist.
I want to remove the specific file in an artifact, but I can see the file in the WebAPP instead.
Ok, no problem! Take your time, I think I can help you, but I don't understand yet 🙂
With what error message did it fail? I would expect it to fail, because you finalized this version of your dataset by uploading it 🙂 You'll need a mutable copy of the dataset before you can remove files from it I think, or you could always remove the file on disk and create a new dataset with the uploaded one as a parent. In that way, clearml will keep track of what changed in between versions.
Can you share the exact error message? That will help a ton!