TropComplique / mtcnn-pytorch

Joint Face Detection and Alignment using Multi-task Cascaded Convolutional Networks
MIT License
659 stars 161 forks source link

Update detector.py #13

Closed acnazarejr closed 1 year ago

acnazarejr commented 5 years ago

Check the list of bounding boxes produced by the first stage is empty or not.

If the list is empty, will occur an error on the following line: bounding_boxes = np.vstack(bounding_boxes)