FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Save all pytorch config updates in dlc_torch.train_network() by maximpavliv · Pull Request #3062 · DeepLabCut/DeepLabCut · GitHub

Save all pytorch config updates in dlc_torch.train_network() - #3062

Merged
AlexEMG merged 2 commits into
mainfrom
maxim/force_save_pytorch_cfg
Jul 24, 2025
Merged

Save all pytorch config updates in dlc_torch.train_network()#3062
AlexEMG merged 2 commits into
mainfrom
maxim/force_save_pytorch_cfg

Conversation

maximpavliv commented Jul 18, 2025
edited
Loading

Copy link
Copy Markdown
Contributor

This Pull Request saves all updates done to the model configuration to the disk (pytorch_config.yaml) before starting training in dlc_torch.train_network().

Previously, the pytorch config was only saved when pytorch_cfg_updates were passed. This prevented saving other updated fields.

AlexEMG commented Jul 22, 2025

Copy link
Copy Markdown
Member

Thank you! Please update so it only saves if a change was made.

AlexEMG self-requested a review July 22, 2025 11:32

Copy link
Copy Markdown
Contributor Author

Please update so it only saves if a change was made.

Done!

maximpavliv changed the title Force save pytorch config in dlc_torch.train_network() Save all pytorch config updates in dlc_torch.train_network() Jul 22, 2025
AlexEMG merged commit b400ad9 into main Jul 24, 2025
5 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL