Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Record Git hash and working directory state #491

Open
bfirsh opened this issue Jan 13, 2021 · 1 comment
Open

Record Git hash and working directory state #491

bfirsh opened this issue Jan 13, 2021 · 1 comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed type/enhancement Something new

Comments

@bfirsh
Copy link
Member

bfirsh commented Jan 13, 2021

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.

@bfirsh bfirsh added good first issue Good for newcomers help wanted Extra attention is needed type/enhancement Something new labels Jan 13, 2021
@thehimalayanleo
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed type/enhancement Something new
Projects
None yet
Development

No branches or pull requests

2 participants