llSourcell / YOLO_Object_Detection

This is the code for "YOLO Object Detection" by Siraj Raval on Youtube
GNU General Public License v3.0
1.73k stars 797 forks source link

No module named darkflow.cli #3

Open JefferyVin opened 6 years ago

JefferyVin commented 6 years ago

Hey Siraji! I am having some problem

screen shot 2017-11-17 at 2 18 45 pm

:(

fpanchoro commented 6 years ago

I have the same problem, greeting captura de pantalla 2017-11-17 a la s 18 17 06 of Ecuador

PandaWhoCodes commented 6 years ago

You have to build the cython modules

cd ./cython_utils
python3 setup.py build_ext --inplace
cd ..

If it still doesn't work build it again Then pay attention to the file "flow", open this file and modify "#! /usr/bin/env python" to "#! /usr/bin/env python3" , it should work fine.

To use flow / flow3 python3 flow --h

sanghapriya commented 6 years ago

I solved this by creating a new virtual environment and then installed all the dependencies. I used python setup.py build_ext --inplace to install and then ran the flow statements using ./flow

keponk commented 6 years ago

I've made a quick post on how I got this repo to work. https://wp.me/p4EFkR-aw

Hope it helps!

ykguler commented 6 years ago

Having the same problem.. Reinstalled everything, but couldn't get it working on a Mac

xoxota99 commented 6 years ago

No module named "flow.cli". No module named "nms".

pamelaajohnston commented 6 years ago

I ended up following keponk's thorough post (thanks for that) but also getting the source code from here: https://github.com/thtrieu/darkflow (keponk's virtual env got rid of my "no module named darkflow.cli" problem but I got the missing "nms" module problem instead - the code from thtrieu got rid of that for me). And then finally got the weights/cfg combos for pretained networks from https://github.com/pjreddie/darknet/wiki/YOLO:-Real-Time-Object-Detection (although that's obvious now I think about it!).

iseegr8tfuldeadppl commented 5 years ago

Just make sure to:

NaumanHSA commented 5 years ago

I've made a quick post on how I got this repo to work. https://wp.me/p4EFkR-aw

Hope it helps!

Love you man !

sona15599 commented 4 years ago

After running this command : python flow --model cfg/yolo.cfg --load bin/yolo.weights --demo videofile.mp4 --gpu 1.0 --saveVideo I got following errors:

error
siroshbashir01 commented 4 years ago

After running this command : python flow --model cfg/yolo.cfg --load bin/yolo.weights --demo videofile.mp4 --gpu 1.0 --saveVideo I got following errors:

error

activate env $activate base

MEDNGTA commented 4 years ago

cmd i did : Clone the repo. open cmd and cd into the repo folder cd darkflow-master type in cmd: pip install . this will install darkflow globally around your computer or, if you're using anaconda it will install it globally within that specific environment you're running the command from

and i did : activate env $activate base

still have problems in importation packages

MEDNGTA commented 4 years ago

i found a solution just add 3 : python3 flow --model cfg/yolo.cfg --load bin/yolo.weights --demo videofile.mp4 --gpu 1.0 --saveVideo instead
python flow --model cfg/yolo.cfg --load bin/yolo.weights --demo videofile.mp4 --gpu 1.0 --saveVideo