train.py runtime error
ImageWQ opened this issue · comments
Hello, when I ran "train.py", I encountered an error in line 206: “StopIteration”. Indicates that "data_val = val_iter. next ()" cannot be iterated. Is there any missing document? After debugging, it feels like "valDataloader" is empty. Thank you very much for your time.
Please check the pix2pix_val2.py in the datasets folder.
Thank you very much for your reply. I don't understand it at the moment. I'll check it carefully tomorrow morning, because it's very late and I'm returning to my apartment. I am very interested in your method and hope to get your guidance again.
@ImageWQ
Hello,i have the same problem as you when i run train. Indicates that "data_val = val_iter. next ()". it also say
"TypeError: cat received an invalid combination of arguments - got (tuple, int), but expected one of:
(sequence[torch.DoubleTensor] seq)
(sequence[torch.DoubleTensor] seq, int dim)
didn’t match because some of the arguments have invalid types: (list, int)",How do you solve this problem?
@sunxiangs This may be the lack of some documents, you can contact my QQ to continue to exchange.
@ImageWQ sorry,What's your number? i can not find it.my QQ is 1135561584,Please add me as your friend,thank you very much
Hello, when I ran "train.py", I encountered an error in line 206: “StopIteration”. Indicates that "data_val = val_iter. next ()" cannot be iterated. Is there any missing document? After debugging, it feels like "valDataloader" is empty. Thank you very much for your time.
Hello,i also have the same problem as you,
File "train.py", line 206, in
data_val = val_iter.next()
File "/home/zj/anaconda3/envs/python27/lib/python2.7/site-packages/torch/utils/data/dataloader.py", line 271, in next
raise StopIteration
StopIteration
How do you solve this problem?Thank you very much for your time. My QQ is 577670386. Best wishes.
I encounter this problem too. does any one solve it??
I encounter this problem too. does any one solve it??
Excuseme, have you solved it ? I just met with this problem too.