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

The workers flag is not used #14

Open
RolandGao opened this issue Jul 31, 2023 · 0 comments
Open

The workers flag is not used #14

RolandGao opened this issue Jul 31, 2023 · 0 comments

Comments

@RolandGao
Copy link

In train.py, line 87 says

@click.option('--workers', help='DataLoader worker processes', type=click.IntRange(min=1), default=3)

However, line 123 uses num_workers=3 regardless of the opts.workers flag:

c.data_loader_kwargs = dnnlib.EasyDict(pin_memory=True, num_workers=3, prefetch_factor=2)

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