NVlabs / pacnet

Pixel-Adaptive Convolutional Neural Networks (CVPR '19)
https://suhangpro.github.io/pac/
Other
515 stars 79 forks source link

JBU training error #19

Open qyun29 opened 4 years ago

qyun29 commented 4 years ago

Hello, i want to apply your PacConvTransposed2d to my model. But when do training, Traceback (most recent call last): File "C:\Users\Qyun\anaconda3\envs\pix_net\lib\site-packages\torch\autograd\function.py", line 189, in wrapper outputs = fn(ctx, *args) File "C:\projects\pacnet-master\pac.py", line 286, in backward ctx._backend.Im2Col_updateGradInput(ctx._backend.library_state, File "C:\Users\Qyun\anaconda3\envs\pix_net\lib\site-packages\torch_thnn\utils.py", line 27, in getattr raise NotImplementedError NotImplementedError this error occurred. and the same error is occurred when i do training task_jointUpsampling. How can I solve this problem?

suhangpro commented 4 years ago

This is due to an incompatible pytorch version. The code was originally developed for pytorch 0.4. You can try the branch "th14". There were some related discussions in #14