[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
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

Configure when to write weights. #7932

Merged
merged 15 commits into from
Aug 26, 2023
Merged

Configure when to write weights. #7932

merged 15 commits into from
Aug 26, 2023

Conversation

schedldave
Copy link

With these changes, it is possible to configure when weights are saved turning training. Per default, weights are stored every 1000 iterations, if max_batchsize is less than 10000, or every 10000 iterations otherwise. For smaller datasets, it is useful to store them at different rates.
With the proposed code changes it is possible to read these settings from the data config file.
For example with the following config weights will be stored every 2000 iterations (*_2000.weights, *_4000.weights, ...) and the *_last.weights will be stored after every 500 iterations in the backup folder.

classes = 80
names   = coco.names
saveweights = 2000
savelast 	= 500

an exemplary config.data file

@cenit cenit merged commit 538c435 into AlexeyAB:master Aug 26, 2023
19 checks passed
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