mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-05 04:57:42 +03:00
use device
This commit is contained in:
parent
0866a60a94
commit
c29d42d766
@ -108,7 +108,9 @@ class EmbeddingMaintainer(threading.Thread):
|
||||
|
||||
# model runners to share between realtime and post processors
|
||||
if self.config.lpr.enabled:
|
||||
lpr_model_runner = LicensePlateModelRunner(self.requestor, device="AUTO")
|
||||
lpr_model_runner = LicensePlateModelRunner(
|
||||
self.requestor, device=self.config.lpr.device
|
||||
)
|
||||
|
||||
# realtime processors
|
||||
self.realtime_processors: list[RealTimeProcessorApi] = []
|
||||
|
||||
Loading…
Reference in New Issue
Block a user