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