We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d106b10 commit 9a2607dCopy full SHA for 9a2607d
demo.py
@@ -110,7 +110,7 @@ def detect(args,
110
111
# prepare
112
x, _, ratio = transform(frame)
113
- x = x.unsqueeze(0).to(device) / 255.
+ x = x.unsqueeze(0).to(device)
114
115
# inference
116
t0 = time.time()
@@ -179,7 +179,7 @@ def detect(args,
179
180
181
182
183
184
185
@@ -236,7 +236,7 @@ def detect(args,
236
237
238
x, _, ratio = transform(image)
239
240
241
242
0 commit comments