未验证 提交 16d01d30 编写于 作者: J Jason 提交者: GitHub

Merge pull request #71 from jiangjiajun/develop

Develop
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
from six import text_type as _text_type from six import text_type as _text_type
import argparse import argparse
import sys
def arg_parser(): def arg_parser():
...@@ -107,6 +108,10 @@ def caffe2paddle(proto, weight, save_dir, caffe_proto): ...@@ -107,6 +108,10 @@ def caffe2paddle(proto, weight, save_dir, caffe_proto):
def main(): def main():
if len(sys.argv) < 2:
print("Use \"x2paddle -h\" to print the help information")
return
parser = arg_parser() parser = arg_parser()
args = parser.parse_args() args = parser.parse_args()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册