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

LeeroyHannigan picture LeeroyHannigan  ·  4Comments

ShawnDing1994 picture ShawnDing1994  ·  4Comments

eugtanchik picture eugtanchik  ·  4Comments

realityzero picture realityzero  ·  3Comments

halt9 picture halt9  ·  3Comments