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
model [BiCycleGANModel] was created
create web directory ./checkpoints/maps_bicyclegan/web...
Traceback (most recent call last):
File "train.py", line 25, in <module>
model.update_D(data)
File "/workdir/BicycleGAN/models/bicycle_gan_model.py", line 120, in update_D
self.forward()
File "/workdir/BicycleGAN/models/bicycle_gan_model.py", line 43, in forward
self.mu, self.logvar = self.netE.forward(self.real_B_encoded)
File "/workdir/BicycleGAN/models/networks.py", line 697, in forward
output = self.fc(conv_flat)
File "/usr/local/lib/python2.7/dist-packages/torch/nn/modules/module.py", line 325, in __call__
result = self.forward(*input, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/torch/nn/modules/container.py", line 67, in forward
input = module(input)
File "/usr/local/lib/python2.7/dist-packages/torch/nn/modules/module.py", line 325, in __call__
result = self.forward(*input, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/torch/nn/modules/linear.py", line 55, in forward
return F.linear(input, self.weight, self.bias)
File "/usr/local/lib/python2.7/dist-packages/torch/nn/functional.py", line 835, in linear
return torch.addmm(bias, input, weight.t())
RuntimeError: size mismatch at /pytorch/torch/lib/THC/generic/THCTensorMathBlas.cu:243
tested 256x256 works fine, but any other size would raise the exception above
I am not good enough to fix this on my own after hours ...
The text was updated successfully, but these errors were encountered:
The current Encoder network (E_ResNet) only supports 128x128 (--which_model_netE resnet_128) and 256x256 (--which_model_netE resnet_256). But you can simiply add one line after this line.
The current Encoder network (E_ResNet) only supports 128x128 (--which_model_netE resnet_128) and 256x256 (--which_model_netE resnet_256). But you can simiply add one line after this line.
python train.py --dataroot ./datasets/maps --name maps_bicyclegan --model bicycle_gan --display_id 0 --nThread 0 --loadSize 512 --fineSize 512 --display_winsize 512 --which_direction 'AtoB' --use_dropout --gpu_ids 0
tested 256x256 works fine, but any other size would raise the exception above
I am not good enough to fix this on my own after hours ...
The text was updated successfully, but these errors were encountered: