The Implementation of paper "Controllable Person Image Synthesis with Attribute-Decomposed GAN" CVPR 2020 (Oral); Pose and Appearance Attributes Transfer;
476
stars
90
forks
source link
RuntimeError: The size of tensor a (256) must match the size of tensor b (176) at non-singleton dimension 3 #29
File "/home/user20202735/ADGAN/models/model_adgen.py", line 37, in forward
style = self.enc_style(img_B, sem_B)
File "/home/user20202735/.conda/envs/adgan/lib/python3.6/site-packages/torch/nn/modules/module.py", line 1051, in _call_impl
return forward_call(*input, **kwargs)
File "/home/user20202735/ADGAN/models/model_adgen.py", line 130, in forward
xi = x.mul(semi)
File "/home/user20202735/ADGAN/models/model_adgen.py", line 37, in forward style = self.enc_style(img_B, sem_B) File "/home/user20202735/.conda/envs/adgan/lib/python3.6/site-packages/torch/nn/modules/module.py", line 1051, in _call_impl return forward_call(*input, **kwargs) File "/home/user20202735/ADGAN/models/model_adgen.py", line 130, in forward xi = x.mul(semi)