Closed avikj closed 6 years ago
Part of the problem was GPU fractions, which were set to 1.0 for both threads. I reduced them to 0.4 each, and got a new error.
On line 365 of detect_face.py, np.empty()
is called and returned without parameters. It has a required parameter shape
. What is this supposed to return?
Reopen if this is still a problem.
I get this exception when running align_dataset_mtcnn on two separate datasets, on separate threads, simultaneously (I wrapped them in functions and am starting threads with the
threading
module). Some of the values in thetmpw
andtmph
arrays are negative, causing this error. It works fine when only one thread is running at a time, but when I start another programmatically it fails. Anyone know how to fix this?