aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBenjamin Klimczak <benjamin.klimczak@arm.com>2022-11-21 12:20:54 +0000
committerBenjamin Klimczak <benjamin.klimczak@arm.com>2022-11-21 17:09:37 +0000
commitdba04df561e7de478986d553f3f601076438747a (patch)
treed2e8e96eb87067ed2ebf52bfadc73d04b8e5fe5c /src
parent44cc65185af05fbfaef6a149da63144ef0fbb07d (diff)
downloadmlia-dba04df561e7de478986d553f3f601076438747a.tar.gz
Improve the CLI output
Resolves: MLIA-719, MLIA-720 Change-Id: Ib697046f5090260437f3b1ab5fe8c5b4975abae2
Diffstat (limited to 'src')
-rw-r--r--src/mlia/cli/main.py2
-rw-r--r--src/mlia/devices/cortexa/advice_generation.py8
2 files changed, 6 insertions, 4 deletions
diff --git a/src/mlia/cli/main.py b/src/mlia/cli/main.py
index 6c74a11..33a44e1 100644
--- a/src/mlia/cli/main.py
+++ b/src/mlia/cli/main.py
@@ -236,7 +236,7 @@ def run_command(args: argparse.Namespace) -> int:
f"Please check the log files in the {ctx.logs_path} for more details"
)
if not ctx.verbose:
- err_advice_message += ", or enable verbose mode"
+ err_advice_message += ", or enable verbose mode (--verbose)"
logger.error(err_advice_message)
diff --git a/src/mlia/devices/cortexa/advice_generation.py b/src/mlia/devices/cortexa/advice_generation.py
index 3d2f106..bab9530 100644
--- a/src/mlia/devices/cortexa/advice_generation.py
+++ b/src/mlia/devices/cortexa/advice_generation.py
@@ -97,7 +97,8 @@ class CortexAAdviceProducer(FactBasedAdviceProducer):
"Using select TensorFlow operators in TensorFlow Lite model "
"requires special initialization of TFLiteConverter and "
"TensorFlow Lite run-time.",
- "Please refer to the TensorFlow documentation for more details.",
+ "Please refer to the TensorFlow documentation for more "
+ "details: https://www.tensorflow.org/lite/guide/ops_select",
"Note, such models are not supported by the ML Inference Advisor.",
]
)
@@ -105,13 +106,14 @@ class CortexAAdviceProducer(FactBasedAdviceProducer):
if data_item.custom_ops:
self.add_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: "
f"{', '.join(data_item.custom_ops)}.",
"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.",
+ "Please refer to the TensorFlow documentation for more "
+ "details: https://www.tensorflow.org/lite/guide/ops_custom",
"Note, such models are not supported by the ML Inference Advisor.",
]
)