--
You received this message because you are subscribed to the Google Groups "Keras-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keras-users...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/keras-users/6fab89d8-f986-4c73-b921-b5271aa2dd21%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Keras-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keras-users+unsubscribe@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/keras-users/0be9bcbb-ce7e-4905-af47-f84ab05db59e%40googlegroups.com.
Any ideas...? :(
base_model = applications.ResNet50(weights='imagenet', include_top=False, classes=8,
input_shape=(224,224,3), pooling='avg')
top_model = Sequential()
top_model.add(...(...,input_shape=base_model.output_shape[1:]))
...
intermediate_output = base_model.layers[-1].output
final_output = top_model(intermediate_output)
final_model = Model(inputs=base_model.input,outputs=final_output)
final_model.compile(...)