Skip to content
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 darkflow.cli #3

Open
JefferyVin opened this issue Nov 17, 2017 · 13 comments
Open

No module named darkflow.cli #3

JefferyVin opened this issue Nov 17, 2017 · 13 comments

Comments

@JefferyVin
Copy link

Hey Siraji!
I am having some problem
screen shot 2017-11-17 at 2 18 45 pm
:(

@fpanchoro
Copy link

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

@PandaWhoCodes
Copy link

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
Copy link

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
Copy link

keponk commented Dec 7, 2017

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

Hope it helps!

@ykguler
Copy link

ykguler commented Jan 14, 2018

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

@xoxota99
Copy link

xoxota99 commented Mar 7, 2018

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

@pamelaajohnston
Copy link

pamelaajohnston commented May 3, 2018

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
Copy link

iseegr8tfuldeadppl commented Apr 16, 2019

Just make sure to:

  • 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

@NaumanHSA
Copy link

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
Copy link

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
Copy link

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
Copy link

MEDNGTA commented Apr 9, 2020

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
Copy link

MEDNGTA commented Apr 9, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests