diff --git a/model-optimizer/mo/main.py b/model-optimizer/mo/main.py index f55280124b4b8e..e0d26315739d97 100644 --- a/model-optimizer/mo/main.py +++ b/model-optimizer/mo/main.py @@ -451,4 +451,4 @@ def main(cli_parser: argparse.ArgumentParser, fem, framework: str): if __name__ == "__main__": from mo.utils.cli_parser import get_all_cli_parser - sys.exit(main(get_all_cli_parser(), None)) + sys.exit(main(*get_all_cli_parser(), None)) diff --git a/model-optimizer/mo/main_caffe.py b/model-optimizer/mo/main_caffe.py index bcba5c8d611735..bd2f4b62bf4d98 100644 --- a/model-optimizer/mo/main_caffe.py +++ b/model-optimizer/mo/main_caffe.py @@ -7,4 +7,4 @@ if __name__ == "__main__": from mo.main import main - sys.exit(main(get_caffe_cli_parser(), 'caffe')) + sys.exit(main(get_caffe_cli_parser(), None, 'caffe')) diff --git a/model-optimizer/mo/main_kaldi.py b/model-optimizer/mo/main_kaldi.py index 15233333203adb..e2105e32e5dec6 100644 --- a/model-optimizer/mo/main_kaldi.py +++ b/model-optimizer/mo/main_kaldi.py @@ -7,4 +7,4 @@ if __name__ == "__main__": from mo.main import main - sys.exit(main(get_kaldi_cli_parser(), 'kaldi')) + sys.exit(main(get_kaldi_cli_parser(), None, 'kaldi')) diff --git a/model-optimizer/mo/main_mxnet.py b/model-optimizer/mo/main_mxnet.py index 91cb19531592e5..b22a277231b0f4 100644 --- a/model-optimizer/mo/main_mxnet.py +++ b/model-optimizer/mo/main_mxnet.py @@ -7,4 +7,4 @@ if __name__ == "__main__": from mo.main import main - sys.exit(main(get_mxnet_cli_parser(), 'mxnet')) + sys.exit(main(get_mxnet_cli_parser(), None, 'mxnet')) diff --git a/model-optimizer/mo/main_onnx.py b/model-optimizer/mo/main_onnx.py index 3bf882d65e9ed0..e0569f4c1694a0 100644 --- a/model-optimizer/mo/main_onnx.py +++ b/model-optimizer/mo/main_onnx.py @@ -7,4 +7,4 @@ if __name__ == "__main__": from mo.main import main - sys.exit(main(get_onnx_cli_parser(), 'onnx')) + sys.exit(main(get_onnx_cli_parser(), None, 'onnx')) diff --git a/model-optimizer/mo/main_tf.py b/model-optimizer/mo/main_tf.py index 3c55e4ac0e2d05..5464b114082a6d 100644 --- a/model-optimizer/mo/main_tf.py +++ b/model-optimizer/mo/main_tf.py @@ -7,4 +7,4 @@ if __name__ == "__main__": from mo.main import main - sys.exit(main(get_tf_cli_parser(), 'tf')) + sys.exit(main(get_tf_cli_parser(), None, 'tf'))