Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -19,6 +19,7 @@ model = YOLOv3( )
|
|
19 |
model.load_state_dict(torch.load('Yolov3.pth', map_location=torch.device('cpu')), strict=False)
|
20 |
model.eval()
|
21 |
|
|
|
22 |
# Anchor
|
23 |
scaled_anchors = (
|
24 |
torch.tensor(config.ANCHORS)
|
|
|
19 |
model.load_state_dict(torch.load('Yolov3.pth', map_location=torch.device('cpu')), strict=False)
|
20 |
model.eval()
|
21 |
|
22 |
+
|
23 |
# Anchor
|
24 |
scaled_anchors = (
|
25 |
torch.tensor(config.ANCHORS)
|