Spaces:
Sleeping
Sleeping
Commit
·
49b5807
1
Parent(s):
9e28e3e
Update app.py
Browse files
app.py
CHANGED
|
@@ -84,7 +84,7 @@ with gr.Blocks() as demo:
|
|
| 84 |
|
| 85 |
# load model
|
| 86 |
yololit = litmodelclass.LitYolo()
|
| 87 |
-
inference_model = yololit.load_from_checkpoint("
|
| 88 |
|
| 89 |
# bboxes, gradcam
|
| 90 |
anchors = (torch.tensor(config.ANCHORS) * torch.tensor(config.S).unsqueeze(1).unsqueeze(1).repeat(1, 3, 2))
|
|
|
|
| 84 |
|
| 85 |
# load model
|
| 86 |
yololit = litmodelclass.LitYolo()
|
| 87 |
+
inference_model = yololit.load_from_checkpoint("yolo3_improved_model.ckpt")
|
| 88 |
|
| 89 |
# bboxes, gradcam
|
| 90 |
anchors = (torch.tensor(config.ANCHORS) * torch.tensor(config.S).unsqueeze(1).unsqueeze(1).repeat(1, 3, 2))
|