keepsake
keepsake copied to clipboard
Record Git hash and working directory state
Why
We intentionally don’t have any close integration with Git, but it’d be neat to record the Git hash and perhaps the index state (what uncommitted changes there are etc). This would be useful to understand where some training code came from, or if you want to commit back to Git.
What
This should be recorded in the metadata and displayed in show. Something sensible could be displayed in diff, and perhaps when checking out.
This sounds like a good enhancement. Is this like a basic git integration with keepsake? A few reasons I can think of why it will be useful (I can only think of it's use when working on multiple machines, collaboratively or backtracking to an older version)
- Easy to see what files were used (train/validation//testing)
- Which code/model was used
- Just easier to check in a single command
Is there anything else I am missing for why we might want to build this? I would like to contribute to this if no one has taken this up yet. Also, are there any recommendations on what to display? Ex. The model name with its git-hash?