Megatron17 commited on
Commit
f9c5d15
·
1 Parent(s): bb78a4a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ import torch
7
  scaled_anchors = config.scaled_anchors
8
 
9
  model = Lightning_YOLO()
10
- model.load_state_dict(torch.load("model.ckpt", map_location="cpu"), strict=False)
11
  model.eval()
12
 
13
  def inference(image, threst = 0.5, iou_tresh = 0.5):
 
7
  scaled_anchors = config.scaled_anchors
8
 
9
  model = Lightning_YOLO()
10
+ model.load_state_dict(torch.load("yolov3.pth", map_location="cpu"), strict=False)
11
  model.eval()
12
 
13
  def inference(image, threst = 0.5, iou_tresh = 0.5):