mtcnn icon indicating copy to clipboard operation
mtcnn copied to clipboard

('Tensor Tensor("conv2d_21/BiasAdd:0", shape=(?, ?, ?, 4), dtype=float32) is not an element of this graph.',)

Open little7Li opened this issue 5 years ago • 1 comments

Hi, when i use faces = mtcnn_detector.detect_faces(image) in a web server, i got this error. any idea?

little7Li avatar May 14 '20 10:05 little7Li

Hi @little7Li, have you loaded MTCNN on another thread than the one you're trying to use it?

I recently had this problem, looks like tensorflow doesn't like using graphs across threads, see https://github.com/tensorflow/tensorflow/issues/14356#issuecomment-385962623

legraphista avatar May 14 '20 11:05 legraphista