sd-scripts icon indicating copy to clipboard operation
sd-scripts copied to clipboard

Add Git commit hash/branch to training metadata

Open space-nuko opened this issue 2 years ago • 1 comments

Would be very useful for differentiating when a model was trained and debugging issues (like the recent network alpha one)

space-nuko avatar Jan 26 '23 09:01 space-nuko

I agree this!

In my understanding, pre-commit of git hooks can add previous commit hash to some file. It will be OK to identify the version. https://stackoverflow.com/a/4546755

kohya-ss avatar Jan 28 '23 10:01 kohya-ss