napatswift commited on
Commit
28d6a1a
·
1 Parent(s): aa41622
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -7,8 +7,8 @@ import torch
7
 
8
  print('Loading model...')
9
  device = 'gpu' if torch.cuda.is_available() else 'cpu'
10
- table_det = init_detector('model/table-det/config.py',
11
- 'model/table-det/model.pth', device=device)
12
 
13
  ocr = MMOCRInferencer(det='model/det/config.py',
14
  det_weights='model/det/model.pth',
 
7
 
8
  print('Loading model...')
9
  device = 'gpu' if torch.cuda.is_available() else 'cpu'
10
+ # table_det = init_detector('model/table-det/config.py',
11
+ # 'model/table-det/model.pth', device=device)
12
 
13
  ocr = MMOCRInferencer(det='model/det/config.py',
14
  det_weights='model/det/model.pth',