Closed danielzuegner closed 2 years ago
This is a really nice extension to seml. Thanks a lot for taking the time!
From looking at the code it seems that clean_unreferenced_artifacts
now properly deletes the orphaned artifacts.
And delete_experiments
now appears to properly delete the source files added by sacred. However, as far as I can tell the artifacts associated with an experiment are not deleted by delete_experiments
. Did I miss something in the code or could this functionality maybe be added? That way one wouldn't need to run clean_unreferenced_artifacts
as often.
This is a really nice extension to seml. Thanks a lot for taking the time! From looking at the code it seems that
clean_unreferenced_artifacts
now properly deletes the orphaned artifacts. Anddelete_experiments
now appears to properly delete the source files added by sacred. However, as far as I can tell the artifacts associated with an experiment are not deleted bydelete_experiments
. Did I miss something in the code or could this functionality maybe be added? That way one wouldn't need to runclean_unreferenced_artifacts
as often.
Good point! I've added that in the latest commit.
Do you think it would be possible to create a new release on pip
and conda
, when the PR is merged? This would be a really nice feature to have available in the published package.
improve workflow for cleaning all unreferenced files from the database
Reference issue
Addresses Issue #95.
What does this implement/fix?
seml clean-db
workflow for removing orphaned files in the MongoDB.Additional information