diff options
Diffstat (limited to 'src/mlia/cli')
-rw-r--r-- | src/mlia/cli/commands.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mlia/cli/commands.py b/src/mlia/cli/commands.py index f0ba519..1f339ee 100644 --- a/src/mlia/cli/commands.py +++ b/src/mlia/cli/commands.py @@ -72,7 +72,7 @@ def check( "model.h5", compatibility=True, performance=True) """ if not model: - raise Exception("Model is not provided") + raise ValueError("Model is not provided.") # Set category based on checks to perform (i.e. "compatibility" and/or # "performance"). |