In Keras, how to get the layer name associated with a “Model” object contained in my model?

The key is to first do .get_layer on the Model object, then do another .get_layer on that specifying the specific vgg16 layer, THEN do .output:

layer_output = model.get_layer('vgg16').get_layer('block3_conv1').output

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)