Commit f2688f01 authored by Matt Harvey's avatar Matt Harvey
Browse files

Migrate Models to K2.

Showing with 1 addition and 1 deletion
+1 -1
......@@ -69,7 +69,7 @@ def get_model(weights='imagenet'):
predictions = Dense(len(data.classes), activation='softmax')(x)
# this is the model we will train
model = Model(input=base_model.input, output=predictions)
model = Model(inputs=base_model.input, outputs=predictions)
return model
def get_top_layer_model(base_model):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment