-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Empty __init.py__ file leads to import errors in Detection Demo of FastRCNN #2705
Comments
I get errors as etc. when running codes. Please help. @KeDengMS @cha-zhang @sayanpa |
Can you try add it to PYTHONPATH? |
@KeDengMS I tried adding path Yet, I get the following error :
I also tried adding |
You should add this to PYTHONPATH: |
I tried adding But get following error: |
You mentioned that you added 'my-path/Examples/Image/Detection/'. Did you try adding Examples/Image/Detection/utils/cython_modules? Also, what's your platform and Python version? We have pre-built modules for Python 3.5 for Windows and for Python 3.4, 3.5, 3.6 for Linux. If you specs are different, then you will have to build these modules yourself. |
@spandantiwari I tried all the possible permutations. I'm running docker cntk-2.3-cpu-py35 image on MacOS. I also tried this process on AWS EC2. |
@KeDengMS @spandantiwari I was able to solve this problem by doing 2 things:
Note: One should rename files with Hope this helps. |
@hellosaumil |
@bartkowiaktomasz After adding it to If it still doesn't work, try creating an empty What is the version of your CNTK? |
@hellosaumil Creating |
@devedse You need to set the PYTHONPATH varibale to (also) point at the folder with cython modules. Something like: |
@spandantiwari I got it configured like this: |
My guess is that you are on Windows. What Python version do you have? For Windows, we have cython modules for Python 3.5 only (Linux we have for 3.5 and 3.6). |
@spandantiwari Would it be possible to further illustrate how to build those modules for python 3.6? |
Under
/Examples/Image/Detection
directory__init.py__
is an empty file which leads to import errors while runningDemoDetection.py
and/orrun_fast_rcnn.py
.The text was updated successfully, but these errors were encountered: