Package examples.transferlearning.toyresnet
Functions
getToyResNetJSONConfigFile
Link copied to clipboard
Returns JSON file with model configuration, saved from Keras 2.x.
getToyResNetWeightsFile
Link copied to clipboard
Returns .h5 file with model weights, saved from Keras 2.x.
main
Link copied to clipboard
fun main()
Content copied to clipboard
We described ToyResNet in Keras and saved model configuration.
fun main()
Content copied to clipboard
Just loading ToyResNet trained in Keras.
fun main()
Content copied to clipboard
So, let's update the weights of last layer of the pretrained model from Keras.
fun main()
Content copied to clipboard
Just loading ToyResNet trained in Keras, making a copy and using for prediction.