You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for your sharing the FALdetector code and careful installation instructions.
However, one RuntimeError occurs when excluding the '--no_crop' options.
dets = cnn_face_detector(im, 0)
RuntimeError: Expected writable numpy.ndarray with shape set.
What do I need to do to get it to work? Thanks : )
The text was updated successfully, but these errors were encountered:
Can you try adding im.setflags(write=True) above that line (line 108 at utils/tools.py) and see if it works? If that doesn't work, probably try im = im.copy(); im.setflags(write=True)?
Thanks for your sharing the FALdetector code and careful installation instructions.
However, one RuntimeError occurs when excluding the '--no_crop' options.
dets = cnn_face_detector(im, 0)
RuntimeError: Expected writable numpy.ndarray with shape set.
What do I need to do to get it to work? Thanks : )
The text was updated successfully, but these errors were encountered: