Closed joaomamede closed 2 years ago
Fixed by changing
n2v/models/n2v_standard.py
Line 307
from keras.callbacks import ReduceLROnPlateau
to
from tensorflow.keras.callbacks import ReduceLROnPlateau
Thank you for reporting. This should be fixed now on master. I will release n2v v0.3.1 right away.
N2v 0.3.0 tensorflow '2.2.0' python 3.7.10
When I use the code that used to work with n2v in Tf 1.x I have the following error: (I tried adding from tensorflow.keras.callbacks import ReduceLROnPlateau in n2v_standard)
history = model.train(X, X_val)