Skip to content

Commit

Permalink
Update according to 'main' function change
Browse files Browse the repository at this point in the history
  • Loading branch information
nosovmik committed May 13, 2021
1 parent 7390672 commit 3d03f02
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion model-optimizer/mo/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
2 changes: 1 addition & 1 deletion model-optimizer/mo/main_caffe.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
2 changes: 1 addition & 1 deletion model-optimizer/mo/main_kaldi.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
2 changes: 1 addition & 1 deletion model-optimizer/mo/main_mxnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
2 changes: 1 addition & 1 deletion model-optimizer/mo/main_onnx.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
2 changes: 1 addition & 1 deletion model-optimizer/mo/main_tf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'))

0 comments on commit 3d03f02

Please sign in to comment.