-
Notifications
You must be signed in to change notification settings - Fork 198
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
ImportError: No module named _dilation #12
Comments
I have received the same question, have you found any method to solve it? |
I also meet this problem when I try to modify this RCN, and I find that the _dilation is defined in the setup.py file, as: Actually, dilation.cc is a library in C language written by RCN team, so python cannot import it directly. We have to setup.py it or make it (2 ways to go offered by this project).
But, I still face one problem that I can't debug it step by step as it seems that the _dilation can only be called as a whole. |
Helpful.Thank you very much. |
(caffe) wmdeMacBook-Pro:science_rcn-master wm$ python science_rcn/run.py
Traceback (most recent call last):
File "science_rcn/run.py", line 27, in
from inference import test_image
File "/Users/wm/workspace/RCN/science_rcn-master/science_rcn/inference.py", line 15, in
from dilation.dilation import dilate_2d
File "/Users/wm/workspace/RCN/science_rcn-master/science_rcn/dilation/dilation.py", line 4, in
from _dilation import max_filter1d, brute_max_filter1d
ImportError: No module named _dilation
The text was updated successfully, but these errors were encountered: