From dba04df561e7de478986d553f3f601076438747a Mon Sep 17 00:00:00 2001 From: Benjamin Klimczak Date: Mon, 21 Nov 2022 12:20:54 +0000 Subject: Improve the CLI output Resolves: MLIA-719, MLIA-720 Change-Id: Ib697046f5090260437f3b1ab5fe8c5b4975abae2 --- tests/test_cli_main.py | 2 +- tests/test_devices_cortexa_advice_generation.py | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/test_cli_main.py b/tests/test_cli_main.py index d0f7152..5f6beb6 100644 --- a/tests/test_cli_main.py +++ b/tests/test_cli_main.py @@ -350,7 +350,7 @@ def test_commands_execution_backend_main( [ "Execution finished with error: Error", f"Please check the log files in the {Path.cwd()/'mlia_output/logs'} " - "for more details, or enable verbose mode", + "for more details, or enable verbose mode (--verbose)", ], ], [ diff --git a/tests/test_devices_cortexa_advice_generation.py b/tests/test_devices_cortexa_advice_generation.py index 4e6d892..fd669d4 100644 --- a/tests/test_devices_cortexa_advice_generation.py +++ b/tests/test_devices_cortexa_advice_generation.py @@ -116,20 +116,22 @@ BACKEND_INFO = ( "requires special initialization of TFLiteConverter and " "TensorFlow Lite run-time.", "Please refer to the TensorFlow documentation for " - "more details.", + "more details: " + "https://www.tensorflow.org/lite/guide/ops_select", "Note, such models are not supported by " "the ML Inference Advisor.", ] ), Advice( [ - "The following operators appears to be custom and not natively " + "The following operators appear to be custom and not natively " "supported by TensorFlow Lite: custom_op1, custom_op2.", "Using custom operators in TensorFlow Lite model " "requires special initialization of TFLiteConverter and " "TensorFlow Lite run-time.", "Please refer to the TensorFlow documentation for " - "more details.", + "more details: " + "https://www.tensorflow.org/lite/guide/ops_custom", "Note, such models are not supported by " "the ML Inference Advisor.", ] -- cgit v1.2.1