Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
fixed main() of convert_symbol.py(#4121) (#4131)
Browse files Browse the repository at this point in the history
  • Loading branch information
oura-fj authored and piiswrong committed Dec 7, 2016
1 parent 56d3092 commit fc874df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/caffe_converter/convert_symbol.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def proto2symbol(proto_file):
return ret, input_dim

def main():
symbol_string, output_name = proto2script(sys.argv[1])
symbol_string, output_name, input_dim = proto2script(sys.argv[1])
if len(sys.argv) > 2:
with open(sys.argv[2], 'w') as fout:
fout.write(symbol_string)
Expand Down

0 comments on commit fc874df

Please sign in to comment.