not able to import multi_gpu_model
Closed this issue · 4 comments
Saikrishna129 commented
Saikrishna129 commented
can u pls reply to this asap,pls help me out
RmdanJr commented
HassanBinHaroon commented
I realised that this issue has to do with the version of Keras that is used within Tensorflow. I encountered the same problem in Colab when using version 2.4.3.
so my work around was to uninstall Keras 2.4.3 like so:
!pip uninstall Keras
and then installing a slightly older version Keras 2.2.4:
!pip install keras==2.2.4
This solved the problem problem for me
NB: You might need to restart the runtime for this to take effect
Worked for me.
HassanBinHaroon commented