Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -80,8 +80,7 @@ def detect(img,model):
|
|
80 |
print(weights)
|
81 |
stride =32
|
82 |
model = torch.jit.load(weights)
|
83 |
-
|
84 |
-
half = device.type != 'cpu' # half precision only supported on CUDA
|
85 |
model = model.to(device)
|
86 |
print(111111111)
|
87 |
|
|
|
80 |
print(weights)
|
81 |
stride =32
|
82 |
model = torch.jit.load(weights)
|
83 |
+
|
|
|
84 |
model = model.to(device)
|
85 |
print(111111111)
|
86 |
|