Keras reset layer numbers

后端 未结 4 1502
灰色年华
灰色年华 2020-12-31 21:21

Keras assigns incrementing ID numbers to layers of the same type, e.g. max_pooling1d_7, max_pooling1d_8, max_pooling1d_9,etc. Each ite

4条回答
  •  盖世英雄少女心
    2020-12-31 22:26

    Add

    tf.keras.backend.clear_session()
    

    as in https://www.tensorflow.org/api_docs/python/tf/keras/backend/clear_session

提交回复
热议问题