mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-17 04:22:09 +03:00
whoops, more ruff fixes
This commit is contained in:
parent
515597345a
commit
0286da5ee8
@ -1,11 +1,12 @@
|
||||
import logging
|
||||
import numpy as np
|
||||
import cv2
|
||||
import os
|
||||
import time
|
||||
import urllib.request
|
||||
import zipfile
|
||||
from queue import Queue
|
||||
import time
|
||||
|
||||
import cv2
|
||||
import numpy as np
|
||||
|
||||
try:
|
||||
# from memryx import AsyncAccl # Import MemryX SDK
|
||||
@ -17,11 +18,11 @@ except ModuleNotFoundError:
|
||||
|
||||
from pydantic import BaseModel, Field
|
||||
from typing_extensions import Literal
|
||||
|
||||
from frigate.detectors.detection_api import DetectionApi
|
||||
from frigate.detectors.detector_config import (
|
||||
BaseDetectorConfig,
|
||||
ModelTypeEnum,
|
||||
InputTensorEnum,
|
||||
)
|
||||
from frigate.util.model import post_process_yolo
|
||||
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
import datetime
|
||||
import time
|
||||
import logging
|
||||
import multiprocessing as mp
|
||||
import os
|
||||
import queue
|
||||
import signal
|
||||
import threading
|
||||
import time
|
||||
from abc import ABC, abstractmethod
|
||||
from multiprocessing import Queue, Value
|
||||
from multiprocessing.synchronize import Event as MpEvent
|
||||
|
||||
Loading…
Reference in New Issue
Block a user