diff options
-rw-r--r-- | README.md | 6 | ||||
-rw-r--r-- | src/mlia/cli/options.py | 2 |
2 files changed, 5 insertions, 3 deletions
@@ -144,11 +144,13 @@ mlia check ~/models/mobilenet_v1_1.0_224_quant.tflite \ --target-profile ethos-u55-256 \ --performance -# Explicitly specify the target profile and backend(s) to use with --backend +# Explicitly specify the target profile and backend(s) to use +# with --backend option mlia check ~/models/ds_cnn_large_fully_quantized_int8.tflite \ --target-profile ethos-u65-512 \ --performance \ - --backend "Vela" "Corstone-310" + --backend "Vela" \ + --backend "Corstone-300" # Get help and further information mlia check --help diff --git a/src/mlia/cli/options.py b/src/mlia/cli/options.py index bae6219..5aca3b3 100644 --- a/src/mlia/cli/options.py +++ b/src/mlia/cli/options.py @@ -203,7 +203,7 @@ def add_backend_options( "-b", "--backend", help="Backends to use for evaluation.", - nargs="+", + action="append", choices=available_backends, type=only_one_corstone_checker(), ) |