diff --git a/x2paddle/convert.py b/x2paddle/convert.py index c5e98bbb5b8bc762e5ef448142df6f5bf632a027..f1b1b12d677474d3f0d8fe8fb7560603bf1801ee 100644 --- a/x2paddle/convert.py +++ b/x2paddle/convert.py @@ -114,11 +114,11 @@ def onnx2paddle(model_path, save_dir): import torch version = torch.__version__ if '1.1.0' not in version: - print("your model have dynamic graph, torch==1.1.0 is required") + print("torch==1.1.0 is required") return except: print( - "your model have dynamic graph, we use caffe2 to inference graph, please use \"pip install torch==1.1.0\"." + "we use caffe2 to inference graph, please use \"pip install torch==1.1.0\"." ) return print("Now translating model from onnx to paddle.")