longcw / MOTDT

Real-time Multiple People Tracking with Deeply Learned Candidate Selection and Person Re-identification
MIT License
531 stars 130 forks source link

ImportError: torch.utils.ffi is deprecated. Please use cpp extensions instead. #22

Open Ronales opened 5 years ago

Ronales commented 5 years ago

ImportError: torch.utils.ffi is deprecated. Please use cpp extensions instead.

What should I do for this error when I run sh make.sh ? Thank you!

bmauchly commented 5 years ago

I backed off torch to 4.0.0 which fixed that problem. That leaves me with another File "/root/MOTDT/models/psroi_pooling/_ext/psroi_pooling/init.py", line 3, in from ._psroi_pooling import lib as _lib, ffi as _ffi ImportError: /root/MOTDT/models/psroi_pooling/_ext/psroi_pooling/_psroi_pooling.so: undefined symbol: __cudaPopCallConfiguration

bmauchly commented 5 years ago

to fix the psroi_pooling pooling error, I went back to CUDA 9.0 (from 10) which required GCC 6. those changes got the basic test code to run.

Ronales commented 5 years ago

为了修复psroi_pooling池错误,我回到了CUDA 9.0(从10开始) ,这需要GCC 6.这些更改得到了运行的基本测试代码。

I fix this problem recently,I change the pytorch version back to 0.4.

huangpan2507 commented 4 years ago

为了修复psroi_pooling池错误,我回到了CUDA 9.0(从10开始) ,这需要GCC 6.这些更改得到了运行的基本测试代码。

I fix this problem recently,I change the pytorch version back to 0.4.

can u show your version of those packages : pytorch torch torchvision cuda cudnn ? thanks

JohnPekl commented 2 years ago

I cloned this code with an appropriated conda set up and could run the code, refer to my repository fork MOTDT, scroll to the end of readme. You can also check my conda environment packages version.