From 756573313eb74dcd4d67747f119b3f2e7d8da700 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Tue, 2 Dec 2025 21:10:05 +0100 Subject: [PATCH] remove unused import and variable --- frigate/detectors/plugins/edgetpu_tfl.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/frigate/detectors/plugins/edgetpu_tfl.py b/frigate/detectors/plugins/edgetpu_tfl.py index 64d11eca3..2b94fde39 100644 --- a/frigate/detectors/plugins/edgetpu_tfl.py +++ b/frigate/detectors/plugins/edgetpu_tfl.py @@ -9,7 +9,6 @@ from typing_extensions import Literal from frigate.detectors.detection_api import DetectionApi from frigate.detectors.detector_config import BaseDetectorConfig, ModelTypeEnum -from frigate.util.model import post_process_yolo try: from tflite_runtime.interpreter import Interpreter, load_delegate @@ -123,7 +122,6 @@ class EdgeTpuTfl(DetectionApi): output_boxes_index = 1 if (output_boxes_index == 0) else 0 scores_details = self.tensor_output_details[output_classes_index] - classes_count = scores_details["shape"][2] self.scores_tensor_index = scores_details["index"] self.scores_scale, self.scores_zero_point = scores_details["quantization"] # calculate the quantized version of the min_score