mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-12 22:25:24 +03:00
run ruff format
This commit is contained in:
parent
15cf95cead
commit
2bff6c7bdf
@ -36,10 +36,8 @@ class OvDetector(DetectionApi):
|
|||||||
)
|
)
|
||||||
detector_config.device = "GPU"
|
detector_config.device = "GPU"
|
||||||
|
|
||||||
if(not os.path.isfile(detector_config.model.path)):
|
if not os.path.isfile(detector_config.model.path):
|
||||||
logger.error(
|
logger.error(f"OpenVino model file {detector_config.model.path} not found.")
|
||||||
f"OpenVino model file {detector_config.model.path} not found."
|
|
||||||
)
|
|
||||||
raise FileNotFoundError
|
raise FileNotFoundError
|
||||||
|
|
||||||
self.interpreter = self.ov_core.compile_model(
|
self.interpreter = self.ov_core.compile_model(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user