Skip to content

Commit

Permalink
fixes #186
Browse files Browse the repository at this point in the history
  • Loading branch information
JiahaoYao committed May 11, 2018
1 parent 6604534 commit ec613d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mmdnn/conversion/caffe/saver.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
def save_model(MainModel, network_filepath, weight_filepath, dump_filepath):
dump_net = dump_filepath + '.prototxt'
dump_weight = dump_filepath + '.caffemodel'
dump_net = str(dump_net)
dump_weight = str(dump_weight)
MainModel.make_net(dump_net)
MainModel.gen_weight(weight_filepath, dump_weight, dump_net)
model = caffe.Net(dump_net, dump_weight, caffe.TEST)
Expand Down

0 comments on commit ec613d9

Please sign in to comment.