DIoU-pytorch-detectron
DIoU-pytorch-detectron copied to clipboard
ImportError: torch.utils.ffi is deprecated
System information: Operating system: Ubuntu 20.04 CUDA version: 11.0 python version: 3.8 pytorch version: 1.6.0
sh make.sh
Traceback (most recent call last): File "build.py", line 4, in
from torch.utils.ffi import create_extension File "/home/dell/anaconda3/envs/python38/lib/python3.8/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.
Could anyone solve this problem?