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
No module named cy_yolo_findboxes #168
Comments
Have you built the cython module with
|
Is this only for python 3, i saw in one of the issues someone said about running it on python 2.7. |
The same problem occurred for me. Have anyone solved it? I have tried it on two PCs and built the cython module, but it happened again. |
@lesthad666 python3 setup.py build_ext --inplace cd .. |
Executing with python3 helped me here. This then requires tensorflow and opencv-python being installed for python3 also. |
Small correction |
The same problem occurred for me. |
This happens to me when doing
and then
where while doing with
|
you can instal cython by typing in your terminal: sudo apt-get install cython3 |
I had this problem using the pip / pip3 install method. using Setup.py worked. |
Seems all problems is resolved. |
I have encountered the same problem while running
This is the output of ./flow --h
and this is the output of "flow"
|
@benn94 The first problem In regards to your second problem, |
@abagshaw thank you. I have found it is the python version problem. I could run the command
|
I'm having similar issue as @benn94
|
I encountered the same problem I'd like to try the proposed solution: |
Same issue as @stesalati . There's no |
Executing, from windows 10, "python flow --model cfg / yolo.cfg --load bin / yolo.weights --demo E: \ image \ photos \ abrilsss.wmv --gpu 1.0", I get the same error: |
@clitenmestra execute |
there are not a file named build_ext . Must I download this file? where? |
@clitenmestra Have you installed cython? |
Yes, I have cython and the next code run.
'0.25.2' |
It does work, what did you use Translating the error, It says |
The same answer using --inplace
I have used anaconda for the installation of most packages. |
After reading in your response that a copy of three files was made, I have located them in ANACONDA site_packages darkflow on my computer and I have copied them in cython_utils in my project. From here with some file location correction the command works fine using GPU. |
I had the problem too.And I found that my tensorflow was running in virtualenv of python2.7. Change the virtualenv to python3 could solved this. |
I have the same error as liuhantao9. The file is there, and I even added sys.path.append to the right location. But it throws the same error, any ideas? |
The error occurred to me was becuz the version of python, I downgrade the python from 3.6 to 3.5 and solve all the problem. |
python3 flow --h |
So this doesn't work for python2.7? |
And the link to guidelines for installing darkflow globally is dead. How do I install darkflow globally? |
I had to run the following commands to solve this problem:
|
cd darkflow-master Done! |
For me this was solved by running code outside the darkflow directory. python3 was importing libraries from the local directory which contained pre-built pyx (cython) modules. from darkflow directory: python3 -c "from darkflow.net.build import TFNet" cd ../ |
All problems certainly are not resolved. |
For me the solution is simple. Look (edit) at file "flow". The first line tries to invoke "python". In my default configuration, "python" means "python2". So I just changed it to "python3" instead of just "python" and it works like a charm. |
I was using jupyter notebook but it wasn't using my anaconda libraries so I switched to command prompt and ran the following:
And the error was gone. |
when I run demo shows this
darkflow/net/yolo/test.py", line 6, in
from cython_utils.cy_yolo_findboxes import yolo_box_constructor
The text was updated successfully, but these errors were encountered: