I have a problem when trying to use Keras with three GPUs.
My psuedocode is as follows:
import keras
import keras.models as M
from keras.utils import multi_gpu_model
i = M.Input(None,None,6)
o1,o2,o3 = my_Network(i)
net = M.Model(inputs = i, outputs = [o1,o2,o3])
net = multi_gpu_model(net,gpus = 3)
net.compile( ~~~~~ )
net.fit(~~~~~ )
My code is training my network, however, only one GPU is utilised.
My configuration is as follows:
keras : 2.3.1
tensorflow : 2.1.0
Cuda : 10.0
windows : 10
GPU : Tesla 100 x 3 (VRAM : 32GB x 3 )
What is the mistake?