SwanLab icon indicating copy to clipboard operation
SwanLab copied to clipboard

[ADVICE] log git diff

Open curioushi opened this issue 9 months ago • 1 comments

🤪 Features description

Can SwanLab log "git diff"?

👍 What problem does this feature solve

When conducting experiments, we often need to make temporary code modifications, and sometimes we don’t want to commit every change or simply forget to do so. Is it possible to automatically save the git diff information for easier comparison between experiments?

🚑 Any additional

Image

curioushi avatar Feb 21 '25 02:02 curioushi

You are right, we are developing the usage of log_code() to allow files like train.py to be uploaded with the experiment; we believe this may be a more convenient way.

Zeyi-Lin avatar Feb 21 '25 03:02 Zeyi-Lin