-
Notifications
You must be signed in to change notification settings - Fork 1
PR integrating engine into new trainers and finalizing the multi-gpu fix #20
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
PR integrating engine into new trainers and finalizing the multi-gpu fix #20
Conversation
…explicitly move non-torch.nn losses.
…nhance data loader handling, and progress bar that includes within-epoch batch number update.
…e as backend with logging, training, and evaluation methods
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
jenna-tomkinson
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! I added some comments and questions to address prior to merging, but overall looks cool and very concise!
…ions and improved dataset handling
3666d08 to
8c395cf
Compare
… of results for clarity
|
Thanks for reviewing @jenna-tomkinson! I have applied changes to address all of your suggestions. Merging now! |
Overview
Following previous PRs (#17 , #18, #19) that implements the infrastructure to abstract away the model training complexity away from trainer and enforcing more robust device management, this PR finally integrates the parts from previous PRs into the trainer.
Adds
src/virtual_stain_flow/trainers/logging_trainer.py: simplified logging trainer utilizing new training infraexamples/training_with_logging_example.ipynb: new example to demo logging trainerRefactors (minor)
src/virtual_stain_flow/engine/loss_group.pyto better integrate with
AbstractTrainersrc/virtual_stain_flow/trainers/AbstractTrainer.py: to show a training progress barRemoves
All the obsolete trainer classes