hello, when I run the python demo.py ,it occur the error:
Traceback (most recent call last):
File "demo.py", line 29, in
from model.roi_layers import nms
File "E:\Stereo-RCNN-1.0\lib\model\roi_layers__init__.py", line 3, in
from .nms import nms
File "E:\Stereo-RCNN-1.0\lib\model\roi_layers\nms.py", line 3, in
from model import _C
ImportError: DLL load failed: 找不到指定的程序。
And my gcc version is 5.1,but run the python setup.py build develop,it occur the warning:
running build
running build_py
running build_ext
E:\Anaconda3\envs\env_stereo\lib\site-packages\torch\utils\cpp_extension.py:191: UserWarning:
!! WARNING !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Your compiler (cl 12.00.8168) may be ABI-incompatible with PyTorch!
Please use a compiler that is ABI-compatible with GCC 4.9 and above.
See https://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html.
warnings.warn(ABI_INCOMPATIBILITY_WARNING.format(compiler))
running develop
running egg_info
writing faster_rcnn.egg-info\PKG-INFO
writing dependency_links to faster_rcnn.egg-info\dependency_links.txt
writing top-level names to faster_rcnn.egg-info\top_level.txt
reading manifest file 'faster_rcnn.egg-info\SOURCES.txt'
writing manifest file 'faster_rcnn.egg-info\SOURCES.txt'
running build_ext
copying build\lib.win-amd64-3.6\model_C.cp36-win_amd64.pyd -> model
Creating e:\anaconda3\envs\env_stereo\lib\site-packages\faster-rcnn.egg-link (link to .)
faster-rcnn 0.1 is already the active version in easy-install.pth
Installed e:\stereo-rcnn-1.0\lib
Processing dependencies for faster-rcnn==0.1
Finished processing dependencies for faster-rcnn==0.1
hello, when I run the python demo.py ,it occur the error: Traceback (most recent call last): File "demo.py", line 29, in
from model.roi_layers import nms
File "E:\Stereo-RCNN-1.0\lib\model\roi_layers__init__.py", line 3, in
from .nms import nms
File "E:\Stereo-RCNN-1.0\lib\model\roi_layers\nms.py", line 3, in
from model import _C
ImportError: DLL load failed: 找不到指定的程序。
And my gcc version is 5.1,but run the python setup.py build develop,it occur the warning: running build running build_py running build_ext E:\Anaconda3\envs\env_stereo\lib\site-packages\torch\utils\cpp_extension.py:191: UserWarning:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Your compiler (cl 12.00.8168) may be ABI-incompatible with PyTorch! Please use a compiler that is ABI-compatible with GCC 4.9 and above. See https://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html.
See https://gist.github.com/goldsborough/d466f43e8ffc948ff92de7486c5216d6 for instructions on how to install GCC 4.9 or higher. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
warnings.warn(ABI_INCOMPATIBILITY_WARNING.format(compiler)) running develop running egg_info writing faster_rcnn.egg-info\PKG-INFO writing dependency_links to faster_rcnn.egg-info\dependency_links.txt writing top-level names to faster_rcnn.egg-info\top_level.txt reading manifest file 'faster_rcnn.egg-info\SOURCES.txt' writing manifest file 'faster_rcnn.egg-info\SOURCES.txt' running build_ext copying build\lib.win-amd64-3.6\model_C.cp36-win_amd64.pyd -> model Creating e:\anaconda3\envs\env_stereo\lib\site-packages\faster-rcnn.egg-link (link to .) faster-rcnn 0.1 is already the active version in easy-install.pth
Installed e:\stereo-rcnn-1.0\lib Processing dependencies for faster-rcnn==0.1 Finished processing dependencies for faster-rcnn==0.1
how to solve it ,thank you