You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is likely due to Keras version changes. Currently using Keras 3.2.1 with Tensorflow 2.16.1.
So far, I've changed the following in layers.py:
from keras.src.layers.rnn.dropout_rnn_cell_mixin import DropoutRNNCellMixin
to: from tensorflow.python.keras.layers.recurrent import DropoutRNNCellMixin
and: from keras.src.engine.base_layer import BaseRandomLayer
to: from tensorflow.keras.layers import Layer as BaseRandomLayer
and: training = tf.keras.backend.learning_phase()
to: training = True
The text was updated successfully, but these errors were encountered:
If you install the current development version from the main branch it should be compatible with tensorflow 2.16. We'll do a release with those updates soon.
This is likely due to Keras version changes. Currently using Keras 3.2.1 with Tensorflow 2.16.1.
So far, I've changed the following in
layers.py
:from keras.src.layers.rnn.dropout_rnn_cell_mixin import DropoutRNNCellMixin
to:
from tensorflow.python.keras.layers.recurrent import DropoutRNNCellMixin
and:
from keras.src.engine.base_layer import BaseRandomLayer
to:
from tensorflow.keras.layers import Layer as BaseRandomLayer
and:
training = tf.keras.backend.learning_phase()
to:
training = True
The text was updated successfully, but these errors were encountered: