YonghaoHe / LFFD-A-Light-and-Fast-Face-Detector-for-Edge-Devices

A light and fast one class detection framework for edge devices. We provide face detector, head detector, pedestrian detector, vehicle detector......
MIT License
1.31k stars 330 forks source link

when i run evaluation_on_widerface.py fout.write('%d %d %d %d %.03f' % (math.floor(bbox[0]), math.floor(bbox[1]), math.ceil(bbox[2] - bbox[0]), math.ceil(bbox[3] - bbox[1]), bbox[4] if bbox[4] <= 1 else 1) + '\n') TypeError: must be real number, not tuple #18

Closed penglongluan closed 4 years ago

YonghaoHe commented 5 years ago

I think it is a easy error, you may debug step by step and find it out. check bbox data type.