diff --git a/x2paddle/convert.py b/x2paddle/convert.py index 7a522b71571728ab98e1aeba6ccb929b24d61871..000453f60c82ae67e6aaf01f2044dc522a518838 100644 --- a/x2paddle/convert.py +++ b/x2paddle/convert.py @@ -190,8 +190,6 @@ def main(): return except: print("paddlepaddle not installed, use \"pip install paddlepaddle\"") - assert args.framework is not None, "--framework is not defined(support tensorflow/caffe/onnx)" - assert args.save_dir is not None, "--save_dir is not defined" if args.framework == "tensorflow": assert args.model is not None, "--model should be defined while translating tensorflow model"