You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good day!;)
I try to train model on kaggle dataset, i use a train options from readme ... but get a error ... =(
create web directory ./checkpoints/kaggle/web...
Traceback (most recent call last):
File "train.py", line 71, in
Variable(data['image']), Variable(data['feat']), infer=save_fake)
File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 722, in _call_impl
result = self.forward(*input, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/torch/nn/parallel/data_parallel.py", line 153, in forward
return self.module(*inputs[0], **kwargs[0])
File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 722, in _call_impl
result = self.forward(*input, **kwargs)
File "/content/drive/Shared drives/UNLIMITED/ducunet/deep-learning-for-document-dewarping-master/models/pix2pixHD_model.py", line 163, in forward
fake_image = self.netG.forward(input_concat)
File "/content/drive/Shared drives/UNLIMITED/ducunet/deep-learning-for-document-dewarping-master/models/networks.py", line 180, in forward
output_prev = model_upsample(model_downsample(input_i) + output_prev)
RuntimeError: The size of tensor a (398) must match the size of tensor b (400) at non-singleton dimension 2
How i can solve it?;)
The text was updated successfully, but these errors were encountered:
Good day!;)
I try to train model on kaggle dataset, i use a train options from readme ... but get a error ... =(
create web directory ./checkpoints/kaggle/web...
Traceback (most recent call last):
File "train.py", line 71, in
Variable(data['image']), Variable(data['feat']), infer=save_fake)
File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 722, in _call_impl
result = self.forward(*input, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/torch/nn/parallel/data_parallel.py", line 153, in forward
return self.module(*inputs[0], **kwargs[0])
File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 722, in _call_impl
result = self.forward(*input, **kwargs)
File "/content/drive/Shared drives/UNLIMITED/ducunet/deep-learning-for-document-dewarping-master/models/pix2pixHD_model.py", line 163, in forward
fake_image = self.netG.forward(input_concat)
File "/content/drive/Shared drives/UNLIMITED/ducunet/deep-learning-for-document-dewarping-master/models/networks.py", line 180, in forward
output_prev = model_upsample(model_downsample(input_i) + output_prev)
RuntimeError: The size of tensor a (398) must match the size of tensor b (400) at non-singleton dimension 2
How i can solve it?;)
The text was updated successfully, but these errors were encountered: