From c152fb5137417e0f0041c3904b817ed64573b02a Mon Sep 17 00:00:00 2001 From: Andrew Reiter Date: Mon, 26 Feb 2024 14:19:25 -0500 Subject: [PATCH] Fix erroneous warning 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"]