Skip to content

Commit 1ac656d

Browse files
author
Dmitry Sidnev
committed
Fix dict
1 parent 1c51d36 commit 1ac656d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

demos/background_subtraction_demo/python/background_subtraction_demo.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,11 @@ def main():
173173

174174
labels = ['__background__', 'person'] if args.labels is None else args.labels
175175

176-
configuration = dict(
177-
prob_threshold=args.prob_threshold,
178-
labels=labels,
179-
resize_type='fit_to_window' if args.keep_aspect_ratio else 'standard'
180-
)
176+
configuration = {
177+
'prob_threshold': args.prob_threshold,
178+
'labels': labels,
179+
'resize_type': 'fit_to_window' if args.keep_aspect_ratio else 'standard'
180+
}
181181

182182
model = get_instance_segmentation_model(model_adapter, configuration)
183183

0 commit comments

Comments
 (0)