Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
numpy throwing deprecation warning for creating ndarray from nested s…
…equences (#196) (#207) Numpy is throwing deprecation warnings for creating arrays from nested sequences on line 183 of detect_face.py and on lines 339, 340, 341 of mtcnn.py when running the example training script. The fix is to pass 'dtype=object' as a parameter when creating the ndarray. E.g., on line 339 of mtcnn.py np.array(boxes) becomes np.array(boxes, dtype=object) Co-authored-by: Markham Lee <[email protected]>
- Loading branch information