tobran / DF-GAN

[CVPR2022 oral] A Simple and Effective Baseline for Text-to-Image Synthesis
Other
297 stars 67 forks source link

name 'count' is not defined报错帮看下 #11

Closed zhanghaobucunzai closed 2 years ago

zhanghaobucunzai commented 3 years ago

[1/1][365/368] Loss_D: 1.329 Loss_G 1.297 [1/1][366/368] Loss_D: 1.162 Loss_G 3.206 [1/1][367/368] Loss_D: 1.162 Loss_G 2.319 Traceback (most recent call last): File "main.py", line 273, in count = train(dataloader,netG,netD,text_encoder,optimizerG,optimizerD, state_epoch,batch_size,device) File "main.py", line 179, in train return count NameError: name 'count' is not defined

rishi-wqd190004 commented 3 years ago

@zhanghaobucunzai hi wanted to know did you also got the similar error as RNN_ENCODER too. If so could you share some insights on why its happening.

YGfun commented 3 years ago

@zhanghaobucunzai you cab just delete it.