xinntao / EDVR

Winning Solution in NTIRE19 Challenges on Video Restoration and Enhancement (CVPR19 Workshops) - Video Restoration with Enhanced Deformable Convolutional Networks. EDVR has been merged into BasicSR and this repo is a mirror of BasicSR.
https://github.com/xinntao/BasicSR
1.49k stars 318 forks source link

can anyone meet this error("段错误") #9

Closed huangzhiwei1987 closed 5 years ago

huangzhiwei1987 commented 5 years ago

when I run test_Vid4_REDS4_with_GT.py, I got a error . Is anyone can help me to resolve this, thank you very much. I use anaconda3, python 3.6.7 pytorch version is 1.1.0.

python ./test_Vid4_REDS4_with_GT.py 19-05-30 15:01:21.580 - INFO: Data: Vid4 - ../datasets/Vid4/BIx4/* 19-05-30 15:01:21.583 - INFO: Padding mode: new_info 19-05-30 15:01:21.583 - INFO: Model path: ../experiments/pretrained_models/EDVR_Vimeo90K_SR_L.pth 19-05-30 15:01:21.583 - INFO: Save images: True 19-05-30 15:01:21.584 - INFO: Flip Test: False 段错误

I find that the one in line 139("model_output = model(imgs_in)") caused the error, but I did not know why.

linzhi123 commented 5 years ago

I also have the same problem.

linzhi123 commented 5 years ago

I use anaconda3, python 3.6.5 pytorch version is 1.0.0.

linzhi123 commented 5 years ago

Hello, I have solved this problem. Upgrade your GCC version to 4.9<gcc<5 @huangzhiwei1987

huangzhiwei1987 commented 5 years ago

@linzhi123 Thank you very much, I will try it.

zhuhaozh commented 5 years ago

Thanks! Solved by rebuilding the DCNv2 with gcc 4.9.2