longcw / RoIAlign.pytorch

RoIAlign & crop_and_resize for PyTorch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

dominikj2 opened this issue · comments

commented

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.

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.

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.