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

train #79

Open
chelseaalex opened this issue Apr 22, 2022 · 1 comment
Open

train #79

chelseaalex opened this issue Apr 22, 2022 · 1 comment

Comments

@chelseaalex
Copy link

image
UnboundLocalError: local variable 'gen_net' referenced before assignment
请问 全局变量和局部变量冲突了?
is the global variable conflict with the local variable...
微信截图_20220422202005

@yifanjiang19
Copy link
Contributor

Did you use distributed training mode? This code only works on distributed training mode even on a single gpu. If you changed this setting you might meet this problem that makes gen_net failed to be init. The easiest way is to NOT change the launch script before you fully understand the training pipeline

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

2 participants