Tried to install darkflow all three ways presented in getting started. Each time I tried running flow --h I received the error in the title. All my dependencies are downloaded and up to date, I've tried running as flow and ./flow. Any help?
I assume you're running on Windows. Try running it as "python flow ...."
This is the error I got.
```C:\Users\isaac\Documents\STEM\Self Driving League\darkflow>python flow
Parsing
Traceback (most recent call last):
File "flow", line 6, in
cliHandler(sys.argv)
File "C:\Users\isaac\Documents\STEM\Self Driving League\darkflow\darkflow\cli.py", line 22, in cliHandler
tfnet = TFNet(FLAGS)
File "C:\Users\isaac\Documents\STEM\Self Driving League\darkflow\darkflow\net\build.py", line 58, in __init__
darknet = Darknet(FLAGS)
File "C:\Users\isaac\Documents\STEM\Self Driving League\darkflow\darkflow\dark\darknet.py", line 17, in __init__
src_parsed = self.parse_cfg(self.src_cfg, FLAGS)
File "C:\Users\isaac\Documents\STEM\Self Driving League\darkflow\darkflow\dark\darknet.py", line 68, in parse_cfg
for i, info in enumerate(cfg_layers):
File "C:\Users\isaac\Documents\STEM\Self Driving League\darkflow\darkflow\utils\process.py", line 66, in cfg_yielder
layers, meta = parser(model); yield meta;
File "C:\Users\isaac\Documents\STEM\Self Driving League\darkflow\darkflow\utils\process.py", line 17, in parser
with open(model, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: ''
C:\Users\isaac\Documents\STEM\Self Driving League\darkflow>```
What is the complete command you are using? Have you downloaded the weights?
I have downloaded and moved the tiny yolo weights into my darkflow folder. The command I used was the flow --h described in the documentation.
Are you using Windows? If so, you'll need to preface your commands with python so it would be python flow --h
Hey it worked!
It's strange because I tried doing python flow --h beforehand and it didn't work. Maybe I was in the wrong directory. Thank you.
in which directory should i put tiny_yolo. weights?
bin folder. cfg files are preloaded in the cfg folder.
thanks
@isaacdchan in which directory should you run the python flow --h.
I just ran into a similar issue and solved it by executing python flow --h inside the darkflow-master directory.
i am trying to do inside darkflow master folder but it is not working :(
Hi. I am getting the exact same issue running on Ubuntu 16.04. Any ideas on the fix for this?
i am trying to do inside darkflow master folder but it is not working :(
have you fixed this having same issue
If you start with the python command things will be better.
python flow --h
Most helpful comment
I assume you're running on Windows. Try running it as "python flow ...."