Skip to content

Commit

Permalink
Fix updated image size not used (WongKinYiu#739)
Browse files Browse the repository at this point in the history
Co-authored-by: magangloff <[email protected]>
  • Loading branch information
m-gangloff and m-gangloff committed Sep 12, 2022
1 parent 2e99efb commit b1850c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def test(data,
imgsz = check_img_size(imgsz, s=gs) # check img_size

if trace:
model = TracedModel(model, device, opt.img_size)
model = TracedModel(model, device, imgsz)

# Half
half = device.type != 'cpu' and half_precision # half precision only supported on CUDA
Expand Down

0 comments on commit b1850c7

Please sign in to comment.