Keras rename model and layers

前端 未结 8 860
情话喂你
情话喂你 2020-12-31 00:46

1) I try to rename a model and the layers in Keras with TF backend, since I am using multiple models in one script. Class Model seem to have the property model.name, but whe

8条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-31 01:12

    for 1), I think you may build another model with right name and same structure with the exist one. then set weights from layers of the exist model to layers of the new model.

提交回复
热议问题