google-research / deeplab2

DeepLab2 is a TensorFlow library for deep labeling, aiming to provide a unified and state-of-the-art TensorFlow codebase for dense pixel labeling tasks.
Apache License 2.0
998 stars 157 forks source link

Keras.optimizers has not attribute "legacy" #165

Open BlueskyFR opened 1 year ago

BlueskyFR commented 1 year ago

INSTALLATION.md specifies that TF + Keras 2.6 should be installed.

Keras 2.6 does not have yet the optimizers.legacy module although this commit uses it, which creates a runtime error.

Either the required TF + Keras version should be updated or this commit reverted, I guess?