Keras reset layer numbers
The solution, from Attempting to reset tensorflow graph when using keras, failing:
from keras import backend as K
K.clear_session()
The solution, from Attempting to reset tensorflow graph when using keras, failing:
from keras import backend as K
K.clear_session()