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

Avoid initiating train dataloader in eval + no ddp bug fix #19

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

OasisArtisan
Copy link

Simply conditioned the initialization of the training dataset and dataloader on args.eval so that people don't need to download 140GB of training data if they just want to evaluate.

Further, used model_without_ddp variable when merging "pre bn" so that to avoid a model.module attribute error when running without DDP.

Avoid initiating train dataloader in eval only mode.

Fix error in non distributed training/evaluation by using model_without_ddp variable.
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

1 participant