From 73e27ab53d440fbf2d8340891a2d38e3e6f6fae3 Mon Sep 17 00:00:00 2001 From: jiangjiajun Date: Fri, 9 Aug 2019 11:03:56 +0800 Subject: [PATCH] upgrade --- x2paddle/__init__.py | 2 +- x2paddle/convert.py | 16 +++++++++------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/x2paddle/__init__.py b/x2paddle/__init__.py index 3d26edf..df12433 100644 --- a/x2paddle/__init__.py +++ b/x2paddle/__init__.py @@ -1 +1 @@ -__version__ = "0.4.1" +__version__ = "0.4.2" diff --git a/x2paddle/convert.py b/x2paddle/convert.py index 2edbe39..9f19114 100644 --- a/x2paddle/convert.py +++ b/x2paddle/convert.py @@ -23,7 +23,7 @@ def arg_parser(): "-m", type=_text_type, default=None, - help="model file path") + help="define model file path for tensorflow or onnx") parser.add_argument("--prototxt", "-p", type=_text_type, @@ -39,17 +39,19 @@ def arg_parser(): type=_text_type, default=None, help="path to save translated model") - parser.add_argument("--framework", - "-f", - type=_text_type, - default=None, - help="define which deeplearning framework") + parser.add_argument( + "--framework", + "-f", + type=_text_type, + default=None, + help="define which deeplearning framework(tensorflow/caffe/onnx)") parser.add_argument( "--caffe_proto", "-c", type=_text_type, 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", "-v", action="store_true", -- GitLab