NVIDIA / ContrastiveLosses4VRD

Implementation for the CVPR2019 paper "Graphical Contrastive Losses for Scene Graph Generation"
Other
200 stars 41 forks source link

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

Closed fuyun1107 closed 3 years ago

fuyun1107 commented 3 years ago

Traceback (most recent call last): File "build.py", line 4, in from torch.utils.ffi import create_extension File "/home/ubuntu/anaconda3/envs/xx/lib/python3.5/site-packages/torch/utils/ffi/init.py", line 1, in raise ImportError("torch.utils.ffi is deprecated. Please use cpp extensions instead.") ImportError: torch.utils.ffi is deprecated. Please use cpp extensions instead.

why i have this problem?

YerongLi2 commented 2 years ago

I met exactly the same problem, how did you fix this?