Open JefferyVin opened 6 years ago
I have the same problem, greeting of Ecuador
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
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
I've made a quick post on how I got this repo to work. https://wp.me/p4EFkR-aw
Hope it helps!
Having the same problem.. Reinstalled everything, but couldn't get it working on a Mac
No module named "flow.cli". No module named "nms".
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!).
Just make sure to:
cd darkflow-master
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 fromI've made a quick post on how I got this repo to work. https://wp.me/p4EFkR-aw
Hope it helps!
Love you man !
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:
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:
activate env $activate base
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
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
Hey Siraji! I am having some problem
:(