tidalove commited on
Commit
2f801eb
·
verified ·
1 Parent(s): 6f0bda2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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 # todo: cropping implementation
8
 
9
  PREDICTOR = build_predictor(
10
- exp_file = "path",
11
  model_name = "yolox_s",
12
- ckpt_path = "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,