mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-15 03:22:10 +03:00
Formatting
This commit is contained in:
parent
240f998121
commit
54b20f4ba9
@ -82,7 +82,7 @@ class ZmqIpcDetector(DetectionApi):
|
|||||||
header: dict[str, Any] = {
|
header: dict[str, Any] = {
|
||||||
"shape": list(tensor_input.shape),
|
"shape": list(tensor_input.shape),
|
||||||
"dtype": str(tensor_input.dtype.name),
|
"dtype": str(tensor_input.dtype.name),
|
||||||
"model_type": str(self.detector_config.model.model_type.name)
|
"model_type": str(self.detector_config.model.model_type.name),
|
||||||
}
|
}
|
||||||
return json.dumps(header).encode("utf-8")
|
return json.dumps(header).encode("utf-8")
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user