We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c51d36 commit 1ac656dCopy full SHA for 1ac656d
demos/background_subtraction_demo/python/background_subtraction_demo.py
@@ -173,11 +173,11 @@ def main():
173
174
labels = ['__background__', 'person'] if args.labels is None else args.labels
175
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
- )
+ configuration = {
+ 'prob_threshold': args.prob_threshold,
+ 'labels': labels,
+ 'resize_type': 'fit_to_window' if args.keep_aspect_ratio else 'standard'
+ }
181
182
model = get_instance_segmentation_model(model_adapter, configuration)
183
0 commit comments