Ahsen Khaliq commited on
Commit
59d1787
·
1 Parent(s): 9db879a

Update demos/general.py

Browse files
Files changed (1) hide show
  1. demos/general.py +1 -1
demos/general.py CHANGED
@@ -76,7 +76,7 @@ if __name__ == '__main__':
76
  stride = int(model.stride.max()) # model stride
77
 
78
  imgsz = check_img_size(args.imgsz, s=stride) # check image size
79
- dataset = LoadImages('tmp/{}'.format(args.vid), img_size=imgsz, stride=stride, auto=True)
80
 
81
  if device.type != 'cpu':
82
  model(torch.zeros(1, 3, imgsz, imgsz).to(device).type_as(next(model.parameters()))) # run once
 
76
  stride = int(model.stride.max()) # model stride
77
 
78
  imgsz = check_img_size(args.imgsz, s=stride) # check image size
79
+ dataset = LoadImages(args.vid, img_size=imgsz, stride=stride, auto=True)
80
 
81
  if device.type != 'cpu':
82
  model(torch.zeros(1, 3, imgsz, imgsz).to(device).type_as(next(model.parameters()))) # run once