mtcnn
mtcnn copied to clipboard
Thread bug
I am using MTCNN with Tensorflow 2 and Flask.
I am facing this issue: https://github.com/keras-team/keras/issues/13353
I don't face the problem if I change in factory.py
from keras.layers import Input, Dense, Conv2D, MaxPooling2D, PReLU, Flatten, Softmax
from keras.models import Model
into
from tensorflow.keras.layers import Input, Dense, Conv2D, MaxPooling2D, PReLU, Flatten, Softmax
from tensorflow.keras.models import Model
Given that this module requires tensorflow anyway, why is it not taking keras from tensorflow directly?