From 350bf37e019b76e802412a62c2687c4c711f7d9b Mon Sep 17 00:00:00 2001 From: KchnKchn Date: Sun, 17 May 2020 15:42:15 +0300 Subject: [PATCH] hotfix --- src/benchmark/config_parser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/benchmark/config_parser.py b/src/benchmark/config_parser.py index 4540abf60..1c36ad7d2 100644 --- a/src/benchmark/config_parser.py +++ b/src/benchmark/config_parser.py @@ -136,11 +136,11 @@ def __init__(self, task, name, model_path, weights_path, precision, source_frame raise ValueError('Model name is required parameter.') if self._parameter_not_is_none(model_path): self.model = model_path - else + else: raise ValueError('Path to model is required parameter.') if self._parameter_not_is_none(weights_path): self.weight = weights_path - else + else: raise ValueError('Path to model weights is required parameter.') if self._parameter_not_is_none(precision): self.precision = precision