segmentation_models_3D icon indicating copy to clipboard operation
segmentation_models_3D copied to clipboard

No module named 'keras.engine'.

Open ezat-git opened this issue 1 year ago • 6 comments

im getting this error while importing 'import segmentation_models_3D as sm'

ezat-git avatar Nov 01 '23 01:11 ezat-git

Same here. Did you find a solution for it?

fbedoyao avatar Nov 09 '23 00:11 fbedoyao

no...

ezat-git avatar Nov 09 '23 01:11 ezat-git

You must install exact version of modules:

tensorflow==2.8.0
keras==2.8.0
keras_applications==1.0.8
classification_models_3D==1.0.8

ZFTurbo avatar Nov 11 '23 09:11 ZFTurbo

I believe tensorflow==2.8.0 is not an available version of tensorflow to install. Is there any other solution to this?

mvinet99 avatar Nov 15 '23 19:11 mvinet99

I believe tensorflow==2.8.0 is not an available version of tensorflow to install. Is there any other solution to this?

Disregard, tensorflow==2.8.0 requires python version 3.10 or lower, and I was trying to install from python 3.11.

mvinet99 avatar Nov 15 '23 19:11 mvinet99

Unfortunately tensorflow and keras changed too often. It was made for these versions of modules and checked to work on them.

ZFTurbo avatar Nov 15 '23 19:11 ZFTurbo