Skip to content

Commit

Permalink
Merge pull request #632 from mil-tokyo/dev-bin
Browse files Browse the repository at this point in the history
#631 fix placeholder duplication
  • Loading branch information
Kiikurage committed Nov 28, 2017
2 parents 991172b + 22eab92 commit abd516b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/convert_keras.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def main():

model = keras.models.load_model(args.kerasmodel, custom_objects=custom_objects, compile=False)
model.build(input_shape=None)
converter = KerasConverter(batch_size=Placeholder(label='N'))
converter = KerasConverter(batch_size=input_shapes[0][0])
graph = converter.convert(model)
traverse.dump(graph)

Expand Down

0 comments on commit abd516b

Please sign in to comment.