mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-11 13:45:25 +03:00
More linting
This commit is contained in:
parent
be84fe8a5e
commit
4695f8284a
@ -109,7 +109,9 @@ class TensorRtDetector(DetectionApi):
|
||||
|
||||
def _execute(self):
|
||||
if TRT_VERSION < 10:
|
||||
return self.context.execute_async_v2(bindings=self.bindings, stream_handle=self.stream)
|
||||
return self.context.execute_async_v2(
|
||||
bindings=self.bindings, stream_handle=self.stream
|
||||
)
|
||||
else:
|
||||
return self.context.execute_v2(self.bindings)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user