Created
December 5, 2020 23:22
-
-
Save bpatra/584290fbd46f8267e5f4f63eecfe1b6c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
layer_outputs = [layer.output for layer in model.layers[:depth]] | |
activation_model = models.Model(inputs=model.input, outputs=layer_outputs) | |
predictions = models.predict(input_img_tensor) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment