Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-khvatov committed May 17, 2020
1 parent 5ea69ab commit 350bf37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/benchmark/config_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 350bf37

Please sign in to comment.