Closed shevy4 closed 1 year ago
@shevy4 I managed to fix this error by changing the optimizer from the new version to legacy If you have a venv set up all you need to do is go to the neuralintents folder go to main and change
from tensorflow.keras.optimizers import SGD to from tensorflow.keras.optimizers.legacy import SGD
I wasn’t using venv but I followed your steps, simple but invaluable for me, thanks a lot 🙏🏽
really help,I changed "from tensorflow.keras.optimizers import Adam" to "from tensorflow.keras.optimizers.legacy import Adam",and it worked. thanks very much
Tensorflow decay has been depreciated since Keras 2.3 hence the chatbot can't be properly instantiated.