How to Obtain Output of Intermediate Model in Keras
The key is to first do .get_layer on the Model object, then do another .get_layer on that specifying the specific layer, THEN do .output: 

layer_output = model.get_layer('Your-Model-Object').get_layer('the-layer-contained-in-your-Model-object').output