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

Checkpoint at epoch 0 will be covered in the end when using DDP #45

Open
yankungou opened this issue Sep 27, 2022 · 0 comments
Open

Checkpoint at epoch 0 will be covered in the end when using DDP #45

yankungou opened this issue Sep 27, 2022 · 0 comments

Comments

@yankungou
Copy link

yankungou commented Sep 27, 2022

Hi Spijkervet, thank you for your code. I found that the checkpoint at epoch 0 will be covered in the end when using DDP, maybe it's better to add a line before this line.

    if args.nr == 0:
        save_model(args, model, optimizer)
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

No branches or pull requests

1 participant