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

I am trying to run the MaskRCNN code from here.

When I am running the make.sh file using Pytorch 0.4.0 for Python3, it gives the following error:

raise ImportError(“torch.utils.ffi is deprecated. Please use cpp extensions
instead.”)
ImportError: torch.utils.ffi is deprecated. Please use cpp extensions instead.

Please suggest some solution.

1 Like