VisionLearningGroup / DA_Detection

Implementation of "Strong-Weak Distribution Alignment for Adaptive Object Detection"
http://cs-people.bu.edu/keisaito/research/CVPR2019.html
MIT License
347 stars 80 forks source link

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

Open cnyanhao opened 5 years ago

cnyanhao commented 5 years ago

Hi, thx for your great kindness. When I do 'cd lib, sh make.sh' in this repo, I got this error: ImportError: torch.utils.ffi is deprecated. Please use cpp extensions instead. Then I found this is caused by the version of pytorch. So I have these questions: What's the version of pytorch you used? And which branch of the repo faster-rcnn.pytorch should I use? master or pytorch-1.0? Do you support pytorch-1.0?

cnyanhao commented 5 years ago

seems that only pytorch=0.4.0 is supported.

ksaito-ut commented 5 years ago

Hi, thank you for reporting the error. We used pytorch 0.4.0.