I use Keras pretrained model VGG16. The problem is that after configuring tensorflow to use the GPU I get an error that I didn\'t have before when using the CPU.
The
I had the same error when I import keras and tenerflow.keras simultaneously:
from tensorflow.keras.optimizers import Adam
from keras.utils import multi_gpu_model
I solved this problem after changing the code into:
from tensorflow.keras.optimizers import Adam
from tensorflow.keras.utils import multi_gpu_model