From b73b9b407479acd8112f584def73667abb5e8855 Mon Sep 17 00:00:00 2001 From: cmoineau <cyril.moineau@cea.fr> Date: Wed, 14 May 2025 09:24:53 +0000 Subject: [PATCH] Debug commit --- aidge_export_cpp/unit_tests/test_examples.py | 2 +- examples/export_ResNet18/resnet18.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/aidge_export_cpp/unit_tests/test_examples.py b/aidge_export_cpp/unit_tests/test_examples.py index 1ddf659..5d95861 100644 --- a/aidge_export_cpp/unit_tests/test_examples.py +++ b/aidge_export_cpp/unit_tests/test_examples.py @@ -10,7 +10,7 @@ EXAMPLES_DIR = CURRENT_DIR / "../../examples" # Dictionary of test cases: {id: (script_name, script_args)} TEST_CASES = { "lenet-int8-no-args": ("export_LeNet/lenet.py", []), - "resnet18-int8-no-args": ("export_ResNet18/resnet18.py", ["--mock_db"]) + "resnet18-int8-no-args": ("export_ResNet18/resnet18.py", ["--mock_db", "--dtype int8"]) } def generate_test_cases(): diff --git a/examples/export_ResNet18/resnet18.py b/examples/export_ResNet18/resnet18.py index 81e3355..ecc2763 100644 --- a/examples/export_ResNet18/resnet18.py +++ b/examples/export_ResNet18/resnet18.py @@ -274,7 +274,8 @@ Load the .onnx model and perform some usual graph modifications : # Define the target path and filename file_url = "https://huggingface.co/EclipseAidge/resnet18/resolve/main/resnet18_imagenet_1k.onnx?download=true" file_path = Path(MODEL_NAME + "_imagenet_1k.onnx") - +dir(aidge_core.utils) +aidge_core.show_version() aidge_core.utils.download_file(file_path, file_url) model = aidge_onnx.load_onnx(file_path, verbose=False) -- GitLab