Open fengxianghu opened 3 years ago
Friend, I have the same problem. Have you solved it now?
Friend, I have the same problem. Have you solved it now?
I remember I have solved this problem with a answer under a previous issue. You can try it.
Thanks!
how did you solve it? I got same problem= = I think it is about the size of noise, but I do not totally understand how noise works.
how did you solve it? I got same problem= = I think it is about the size of noise, but I do not totally understand how noise works.
train.py line53 (It may not be line 53, but it must contain '--noise_dim' ) change None to (0,)
Try to change the codes
to
It will work and you can use '--noise_dim' option.
If I'm wrong, just tell me.
I'm a junior.
how did you solve it? I got same problem= = I think it is about the size of noise, but I do not totally understand how noise works.
train.py line53 (It may not be line 53, but it must contain '--noise_dim' ) change None to (0,)
It is line 52 actually.
I have met the problem, when I run my the train.py.
Traceback (most recent call last): File "train.py", line 595, in
main(args)
File "train.py", line 160, in main
batch_norm=args.batch_norm)
File "/content/gdrive/MyDrive/SGAN/sgan/models.py", line 492, in init
if self.noise_dim[0] == 0:
TypeError: 'NoneType' object is not subscriptable
Has any friend met this problem and solved it?