Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with torch.utils.ffi #3

Closed
Azazel17 opened this issue Apr 6, 2019 · 1 comment
Closed

Issue with torch.utils.ffi #3

Azazel17 opened this issue Apr 6, 2019 · 1 comment

Comments

@Azazel17
Copy link

Azazel17 commented Apr 6, 2019

So, now i'm on Ubuntu 16.04 everything appears to be fine until build.py i got this error :

Traceback (most recent call last):
File "build.py", line 3, in
from torch.utils.ffi import create_extension
File "/home/the-taco-coder/.local/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.

Any help would be really appreciated.

Thanks iin advance for the awesome work

@yangli18
Copy link
Owner

yangli18 commented Apr 7, 2019

@Azazel17 I recommend using PyTorch 0.3.0. The torch.utils.ffi is deprecated in the latest versions of PyTorch. You can refer to this project to use cpp extensions for the NMS code.

@yangli18 yangli18 closed this as completed Jul 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants