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

Feature: model save interval = config.verbose and code sync script #1359

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

swfearp
Copy link

@swfearp swfearp commented Dec 15, 2020

I just slightly modified callbacks.py and train_memory.py so that the number of steps between saving the model is the same as config.verbose parameter; so the model will be saved after each validation. It's worth also checking that the validation accuracy improved since the last time the model was saved.

I included a simple script for syncing the code across all the compute nodes, it uses the host/host_x files to automatically rsync the code.

Sam added 4 commits December 15, 2020 03:41
This script takes a host file as an input and syncs the insightface
repo to all hosts in the file.
@anxiangsir
Copy link
Contributor

Thank you.

@anxiangsir anxiangsir force-pushed the master branch 5 times, most recently from e391616 to 760d6de Compare January 6, 2021 06:02
@anxiangsir anxiangsir force-pushed the master branch 10 times, most recently from 3c5e7bc to fa9afd0 Compare January 13, 2021 11:38
@anxiangsir anxiangsir force-pushed the master branch 10 times, most recently from 2037297 to 15bda16 Compare March 12, 2021 12:18
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.

None yet

2 participants