HuiZeng/Grid-Anchor-based-Image-Cropping

run pytorch version got some error

ben-wong opened this issue · 6 comments

Hi, I am running the pytorch version on my local environment(windows 10+pytorch 0.4+python3.6),got following error message:
ModuleNotFoundError: No module named 'roi_align._ext.roi_align._roi_align'

I found there is an .so file that windows can't read.
How can I solve this error?
Looking forward to hearing from you soon.

Hi, I have only tested the pytorch code on ubuntu. On windows, you may need to re-compile the source code of roi_align and rod_align functions. I have not tried that so I cannot provide more specific suggestions on your question.

ndows 10+pytorch 0.4+python3.6),got following error message:
ModuleNotFoundError: No module named 'roi_align._ext.roi_align._roi_align'
I found there is an .so file that windows can't read.
How can I solve this error?
Looking forward to hearing from you soon.

.SO are dynamic libraries on Linux. Please re-compile the source code on Windows and accordingly generate your own .DLL files.

Hi, I have only tested the pytorch code on ubuntu. On windows, you may need to re-compile the source code of roi_align and rod_align functions. I have not tried that so I cannot provide more specific suggestions on your question.

May I ask you the version of python,pytorch,torchvision use in this code?

Hi, I have only tested the pytorch code on ubuntu. On windows, you may need to re-compile the source code of roi_align and rod_align functions. I have not tried that so I cannot provide more specific suggestions on your question.

May I ask you the version of python,pytorch,torchvision use in this code?

Hi, I used python 2.7, and pytorch 0.4.1.

Hi, I have only tested the pytorch code on ubuntu. On windows, you may need to re-compile the source code of roi_align and rod_align functions. I have not tried that so I cannot provide more specific suggestions on your question.

May I ask you the version of python,pytorch,torchvision use in this code?

Hi, I used python 2.7, and pytorch 0.4.1.

Hi,Is it all I need to configure these environments.Then I can run the demo_eval.py successfully.

Hi, I have only tested the pytorch code on ubuntu. On windows, you may need to re-compile the source code of roi_align and rod_align functions. I have not tried that so I cannot provide more specific suggestions on your question.

May I ask you the version of python,pytorch,torchvision use in this code?

Hi, I used python 2.7, and pytorch 0.4.1.

Hi,Is it all I need to configure these environments.Then I can run the demo_eval.py successfully.

Almost. The other required libraries such as cv2 are easy to install.