Darkflow: Stop Darkflow producing a summary

Created on 1 Aug 2017  路  4Comments  路  Source: thtrieu/darkflow

Is there a flag to prevent Darkflow from producing a events summary every time it is run?

Most helpful comment

I've been able to accomplish this by setting the "summary" option to None when initializing TFNet from my Python app:

from darkflow.net.build import TFNet
options = {"model": "cfg/yolo.cfg", "load": "bin/yolo.weights", "threshold": 0.1, "summary": None}
tfnet = TFNet(options)

When running the flow command directly, the only solution I've found is a workaround by modifying the default value of "summary" to None in defaults.py

All 4 comments

I've been able to accomplish this by setting the "summary" option to None when initializing TFNet from my Python app:

from darkflow.net.build import TFNet
options = {"model": "cfg/yolo.cfg", "load": "bin/yolo.weights", "threshold": 0.1, "summary": None}
tfnet = TFNet(options)

When running the flow command directly, the only solution I've found is a workaround by modifying the default value of "summary" to None in defaults.py

I call it through TFNet so that might be perfect! Thanks. I'll check it works before I close it.

Strange. I just tried this and it still creates a huge summary!
Turns out I had some misbehaving code that wouldn't push my changes through. Thanks.

This workaround is no longer necessary. See https://github.com/thtrieu/darkflow/issues/516#issuecomment-356489901

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bareblackfoot picture bareblackfoot  路  5Comments

xunkaixin picture xunkaixin  路  4Comments

ManojPabani picture ManojPabani  路  4Comments

off99555 picture off99555  路  5Comments

anonym24 picture anonym24  路  5Comments