naisy / realtime_object_detection

Plug and Play Real-Time Object Detection App with Tensorflow and OpenCV. No Bugs No Worries. Enjoy!
MIT License
101 stars 36 forks source link

debug_mode #71

Open skywo1f opened 5 years ago

skywo1f commented 5 years ago

:~/realtime_object_detection$ python run_stream.py run_stream.py:59: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. cfg = yaml.load(ymlfile) Traceback (most recent call last): File "run_stream.py", line 102, in main debug_mode = cfg['debug_mode'] KeyError: 'debug_mode'

naisy commented 5 years ago

Hi @skywo1f,

Thank you for the report. Deprecated warning does not have any problem at present.

yaml.load () without Loader = ... is deprecated

Make sure that there is a debug_mode entry in config.yaml for debug_mode key error.