Keras: K.clear_session() does not reset layer naming conventions

Created on 10 Apr 2019  路  1Comment  路  Source: keras-team/keras

python 3.7 tensorflow 2.0

Create a model. K.clear_session(). Create a model.

The layer names are not being reset. Can create example if this does not make sense immediately.

Most helpful comment

The backend function: keras.backend.reset_uids() does what you want.

>All comments

The backend function: keras.backend.reset_uids() does what you want.

Was this page helpful?
0 / 5 - 0 ratings