sgan
sgan copied to clipboard
'NoneType' object is not subscriptable
I have met the problem, when I run my the train.py.
Traceback (most recent call last):
File "train.py", line 595, in
Has any friend met this problem and solved it?
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.