Thanks for the response.
Specifically:
a) How do I specify conv3_block4_2_relu?
b) How do i convert this line:
self.intermediate_layer_model = Model(inputs=self.base_model.input,
outputs=self.base_model.get_layer(self.layer_name).output)