Skip to content

Commit

Permalink
fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
AlibekovMurad5202 committed Dec 15, 2023
1 parent 3af5cd9 commit cb4f4e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/inference/inference_opencv_cpp.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def create_dict_from_args_for_process(args, io):
'-b': args.batch_size,
'--shape': '[' + ','.join(str(k) for k in [1, *args.shape]) + ']',
'--output_path': args.output_json_path}
if not args.weights_path is None:
if args.weights_path is not None:
args_dict['-w'] = args.weights_path
args_dict['--mean'] = args.mean
args_dict['--scale'] = args.input_scale
Expand Down

0 comments on commit cb4f4e3

Please sign in to comment.