You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tried to use multi_gpu_model function to train on multiple GPU.
But when I edit the code as: training_model = multi_gpu_model(model, gpus=2), I got this error
The name "masks" is used 2 times in the model. All layer names should be unique.
I think it is caused from loss function
loss={
'regression' : keras_retinanet.losses.smooth_l1(),
'classification': keras_retinanet.losses.focal(),
'masks' : losses.mask(),
},
Do you have any suggestion to fix it ?
Thanks for your support
The text was updated successfully, but these errors were encountered:
I've never tried to start a multi-gpu process with keras-maskrcnn. I do know that the keras implementation for multi-gpu is a bit weird and flawed, so don't expect great results..
I have tried to use multi_gpu_model function to train on multiple GPU.
But when I edit the code as: training_model = multi_gpu_model(model, gpus=2), I got this error
The name "masks" is used 2 times in the model. All layer names should be unique.
I think it is caused from loss function
loss={
'regression' : keras_retinanet.losses.smooth_l1(),
'classification': keras_retinanet.losses.focal(),
'masks' : losses.mask(),
},
Do you have any suggestion to fix it ?
Thanks for your support
The text was updated successfully, but these errors were encountered: