Clean up unused imgsz (#7771)
This commit is contained in:
parent
f56dd0f48e
commit
67ae86f006
3 changed files with 10 additions and 19 deletions
|
|
@ -226,7 +226,7 @@ class BasePredictor:
|
|||
else None
|
||||
)
|
||||
self.dataset = load_inference_source(
|
||||
source=source, imgsz=self.imgsz, vid_stride=self.args.vid_stride, buffer=self.args.stream_buffer
|
||||
source=source, vid_stride=self.args.vid_stride, buffer=self.args.stream_buffer
|
||||
)
|
||||
self.source_type = self.dataset.source_type
|
||||
if not getattr(self, "stream", True) and (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue