Update app.py
Browse files
app.py
CHANGED
@@ -4,12 +4,12 @@ import tempfile
|
|
4 |
import json
|
5 |
import zipfile
|
6 |
from tools.demo_api import build_predictor, run_detection
|
7 |
-
import square_crop
|
8 |
|
9 |
PREDICTOR = build_predictor(
|
10 |
-
exp_file = "
|
11 |
model_name = "yolox_s",
|
12 |
-
ckpt_path = "
|
13 |
device="cpu",
|
14 |
fp16=False,
|
15 |
fuse=False,
|
|
|
4 |
import json
|
5 |
import zipfile
|
6 |
from tools.demo_api import build_predictor, run_detection
|
7 |
+
import square_crop
|
8 |
|
9 |
PREDICTOR = build_predictor(
|
10 |
+
exp_file = "exps/yolox_s.py",
|
11 |
model_name = "yolox_s",
|
12 |
+
ckpt_path = "best_ckpt.pth",
|
13 |
device="cpu",
|
14 |
fp16=False,
|
15 |
fuse=False,
|