TransGAN icon indicating copy to clipboard operation
TransGAN copied to clipboard

train

Open chelseaalex opened this issue 3 years ago • 1 comments
trafficstars

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

chelseaalex avatar Apr 22 '22 12:04 chelseaalex

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

yifanjiang19 avatar May 13 '22 22:05 yifanjiang19