Skip to content Skip to sidebar Skip to footer

Tensorflow.keras: Alreadyexistserror

I am building a model using tensorflow. I trained my model and it worked normally. Then, I modified my code and when I try to train my model, I am getting a AlreadyExistError. I re

Solution 1:

You must have a problem on same architectures from previous run being seen while training.

This should reset the keras session :

from tensorflow.keras import backend
backend.clear_session()

Solution 2:

In my case I got the problem when using EMR on AWS, and I solved just uninstalling Keras, if you have tensorflow you already have Keras, but there are other packages that depends of the old Keras library. So you need to uninstall the old Keras to avoid this problem.

!pip uninstall keras

Post a Comment for "Tensorflow.keras: Alreadyexistserror"