YOLOv3_TensorFlow
YOLOv3_TensorFlow copied to clipboard
mode encoding error
The issue is in https://github.com/wizyoung/YOLOv3_TensorFlow/blob/d998369c8213ded2414f470b30000545b4c2f614/utils/data_utils.py#L171
mode parameter in get_batch_data() method is passed as bytes, not as str.
So comparison
if mode == 'train'
always gives False.
Should be updated to if mode == b'train' of just added mode = mode.decode("utf-8")
I am running Python 3.6.7 on Linux OS
That's weird because I'm also using Python 3.6.7 on Ubuntu.
请问有从rtsp流每隔n帧跑yolov3检测实时人数的脚本吗?