提交 73e27ab5 编写于 作者: J jiangjiajun

upgrade

上级 572f7472
__version__ = "0.4.1" __version__ = "0.4.2"
...@@ -23,7 +23,7 @@ def arg_parser(): ...@@ -23,7 +23,7 @@ def arg_parser():
"-m", "-m",
type=_text_type, type=_text_type,
default=None, default=None,
help="model file path") help="define model file path for tensorflow or onnx")
parser.add_argument("--prototxt", parser.add_argument("--prototxt",
"-p", "-p",
type=_text_type, type=_text_type,
...@@ -39,17 +39,19 @@ def arg_parser(): ...@@ -39,17 +39,19 @@ def arg_parser():
type=_text_type, type=_text_type,
default=None, default=None,
help="path to save translated model") help="path to save translated model")
parser.add_argument("--framework", parser.add_argument(
"-f", "--framework",
type=_text_type, "-f",
default=None, type=_text_type,
help="define which deeplearning framework") default=None,
help="define which deeplearning framework(tensorflow/caffe/onnx)")
parser.add_argument( parser.add_argument(
"--caffe_proto", "--caffe_proto",
"-c", "-c",
type=_text_type, type=_text_type,
default=None, default=None,
help="the .py file compiled by caffe proto file of caffe model") help="optional: the .py file compiled by caffe proto file of caffe model"
)
parser.add_argument("--version", parser.add_argument("--version",
"-v", "-v",
action="store_true", action="store_true",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册