qubvel / segmentation_models

Segmentation models with pretrained backbones. Keras and TensorFlow Keras.
MIT License
4.66k stars 1.03k forks source link

ModuleNotFoundError: No module named 'keras.legacy_tf_layers' issue #568

Open Siriz23 opened 1 year ago

Siriz23 commented 1 year ago

Hi there! I've been encountering an error when I try to train the network! I'm working with macOS M1. Up to the labelling phase, everything goes fine. Once I want to start the training network, this error appear on my terminal (pic attached): "ModuleNotFoundError: No module named 'keras.legacy_tf_layers' issue"

I've already installed the keras and also tensorflow. Screenshot 2023-05-22 alle 09 39 13. Thank you.