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

Error compiling objects for extension (PyTorch=1.9.0 in anaconda)? #49

Open
dominikj2 opened this issue Aug 14, 2021 · 2 comments
Open

Comments

@dominikj2
Copy link

Hi,

I am getting the following compiling error. Does RoIAlign work with Pytorch 1.9.0?

  File "C:\Users\...\Anaconda3\lib\site-packages\torch\utils\cpp_extension.py", line 1682, in _run_ninja_build
    raise RuntimeError(message) from e

RuntimeError: Error compiling objects for extension

Thanks.

@theramkm
Copy link

theramkm commented Sep 9, 2021

Here is an egg file I compiled earlier for python 3.7 with torch 1.9 on windows 10 with Cuda 10.2, you should be able to directly import the package.

@theramkm
Copy link

Better yet here's a wheel for the same, just do a pip install
roi_align-0.0.2-cp37-cp37m-win_amd64.zip

Here is an egg file I compiled earlier for python 3.7 with torch 1.9 on windows 10 with Cuda 10.2, you should be able to directly import the package.

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