From 00c2caa1b7b8134e4ada04044e839d355e2742fe Mon Sep 17 00:00:00 2001 From: Andrew Reiter Date: Tue, 27 Feb 2024 07:48:56 -0500 Subject: [PATCH] Fix erroneous warning (#10070) Customizing only the detector model path results in the warning "Customizing more than a detector model path is unsupported." because `{} is not {}` evaluates to True --- frigate/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/config.py b/frigate/config.py index 4264842d8..e90adba7e 100644 --- a/frigate/config.py +++ b/frigate/config.py @@ -1304,7 +1304,7 @@ class FrigateConfig(FrigateBaseModel): model.width != schema["width"]["default"] or model.height != schema["height"]["default"] or model.labelmap_path is not None - or model.labelmap is not {} + or model.labelmap or model.input_tensor != schema["input_tensor"]["default"] or model.input_pixel_format != schema["input_pixel_format"]["default"]