mtcnn icon indicating copy to clipboard operation
mtcnn copied to clipboard

Thread bug

Open pasqLisena opened this issue 6 years ago • 0 comments

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?

pasqLisena avatar Feb 19 '20 15:02 pasqLisena