frankkramer-lab / aucmedi

a framework for Automated Classification of Medical Images
https://frankkramer-lab.github.io/aucmedi/
GNU General Public License v3.0
38 stars 12 forks source link

Submodule dependency issue (classification-model-3D & Keras 3) #213

Closed muellerdo closed 6 months ago

muellerdo commented 10 months ago

Since September 2023, Keras has updated to Keras 3 and restructured some of its code base: https://github.com/keras-team/keras/tree/b9be76a13a1edbea5e17a54bf91da386323222bf/keras

Sadly, due to their updates, the classification_models_3D code is not working anymore on the latest tensorflow/keras version, because the keras.engine submodule does not exist anymore but is required in multiple architectures of classification-models-3D.

See corresponding issue in the classification-models-3D repo: https://github.com/ZFTurbo/classification_models_3D/issues/16

krekiehn commented 9 months ago

change from keras.engine import training to from keras.src.engine import training

helps to solve missing engine module, but now i have trouble with "VersionAwareLayers" in the next line. maybe a version change in TF and Keras can solve that issue: https://github.com/ZFTurbo/classification_models_3D/issues/11#issuecomment-1416751428

muellerdo commented 6 months ago

Fixed & released in version v0.9.0.