From e051d859f1882bd578ad3dfeab26b05dfe53a715 Mon Sep 17 00:00:00 2001 From: Jael Gu Date: Mon, 20 Jun 2022 17:17:36 +0800 Subject: [PATCH] update Signed-off-by: Jael Gu --- test_onnx.py | 6 +++--- test_torchscript.py | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/test_onnx.py b/test_onnx.py index 4311655..bc92e41 100644 --- a/test_onnx.py +++ b/test_onnx.py @@ -15,7 +15,7 @@ for name in models: except Exception as e: line += 'fail\n' f.write(line) - print(f'Fail to load op for {name}: {e}.') + print(f'Fail to load op for {name}: {e}') continue try: op.save_model(format='onnx') @@ -23,7 +23,7 @@ for name in models: except Exception as e: line += 'fail\n' f.write(line) - print(f'Fail to save onnx for {name}: {e}.') + print(f'Fail to save onnx for {name}: {e}') continue try: saved_name = name.replace('/', '-') @@ -33,7 +33,7 @@ for name in models: except Exception as e: line += 'fail\n' f.write(line) - print(f'Fail to check onnx for {name}: {e}.') + print(f'Fail to check onnx for {name}: {e}') continue line += '\n' f.write(line) diff --git a/test_torchscript.py b/test_torchscript.py index 10eac79..12b5a0c 100644 --- a/test_torchscript.py +++ b/test_torchscript.py @@ -15,7 +15,7 @@ for name in models: except Exception as e: line += 'fail\n' f.write(line) - print(f'Fail to load op for {name}: {e}.') + print(f'Fail to load op for {name}: {e}') continue try: op.save_model(format='torchscript') @@ -23,7 +23,7 @@ for name in models: except Exception as e: line += 'fail\n' f.write(line) - print(f'Fail to save onnx for {name}: {e}.') + print(f'Fail to save onnx for {name}: {e}') continue try: saved_name = name.replace('/', '-') @@ -34,7 +34,7 @@ for name in models: except Exception as e: line += 'fail\n' f.write(line) - print(f'Fail to check onnx for {name}: {e}.') + print(f'Fail to check onnx for {name}: {e}') continue line += '\n' f.write(line)