RmdanJr/vehicle-distance-estimation

not able to import multi_gpu_model

Closed this issue · 4 comments

i dont knew where it was going wrong but ,i wasnt able to download multi_gpu_model
image

can u pls reply to this asap,pls help me out

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.

i dont knew where it was going wrong but ,i wasnt able to download multi_gpu_model image

One solution is to simply comment off this line.