RoIAlign.pytorch
RoIAlign.pytorch copied to clipboard
When I tested it, it gives an importerror: no module named _crop_and_resize
sudo python tests/test.py
('Unexpected error:', <type 'exceptions.ImportError'>)
Traceback (most recent call last):
File "tests/test.py", line 13, in
I also have this problem, Do you have solved it?
When I recompiled roi_align it was solved. If you did not compile it before, please do so.
Thanks , got it.
python setup.py install running install running bdist_egg running egg_info creating roi_align.egg-info writing roi_align.egg-info\PKG-INFO writing dependency_links to roi_align.egg-info\dependency_links.txt writing requirements to roi_align.egg-info\requires.txt writing top-level names to roi_align.egg-info\top_level.txt writing manifest file 'roi_align.egg-info\SOURCES.txt' reading manifest file 'roi_align.egg-info\SOURCES.txt' writing manifest file 'roi_align.egg-info\SOURCES.txt' installing library code to build\bdist.win-amd64\egg running install_lib running build_py creating build creating build\lib.win-amd64-3.6 creating build\lib.win-amd64-3.6\roi_align copying roi_align\crop_and_resize.py -> build\lib.win-amd64-3.6\roi_align copying roi_align\roi_align.py -> build\lib.win-amd64-3.6\roi_align copying roi_align_init_.py -> build\lib.win-amd64-3.6\roi_align running build_ext error: [WinError 2] 系统找不到指定的文件。
when i compile roi_align , this error occured. what should i do to solve this problem? or are there any packages that i didn't install ?
python setup.py install running install running bdist_egg running egg_info creating roi_align.egg-info writing roi_align.egg-info\PKG-INFO writing dependency_links to roi_align.egg-info\dependency_links.txt writing requirements to roi_align.egg-info\requires.txt writing top-level names to roi_align.egg-info\top_level.txt writing manifest file 'roi_align.egg-info\SOURCES.txt' reading manifest file 'roi_align.egg-info\SOURCES.txt' writing manifest file 'roi_align.egg-info\SOURCES.txt' installing library code to build\bdist.win-amd64\egg running install_lib running build_py creating build creating build\lib.win-amd64-3.6 creating build\lib.win-amd64-3.6\roi_align copying roi_align\crop_and_resize.py -> build\lib.win-amd64-3.6\roi_align copying roi_align\roi_align.py -> build\lib.win-amd64-3.6\roi_align copying roi_align__init__.py -> build\lib.win-amd64-3.6\roi_align running build_ext error: [WinError 2] 系统找不到指定的文件。
when i compile roi_align , this error occured. what should i do to solve this problem? or are there any packages that i didn't install ?
same question