Spaces:
Build error
Build error
napatswift
commited on
Commit
•
78be22c
1
Parent(s):
c3a10c9
add new model
Browse files- main.py +2 -1
- model/{epoch_20.pth → synth-e20.pth} +2 -2
main.py
CHANGED
@@ -4,7 +4,8 @@ import cv2
|
|
4 |
import sys
|
5 |
|
6 |
ocr = MMOCR(det_config='model/config.py',
|
7 |
-
det_ckpt='model/
|
|
|
8 |
def get_rec(points):
|
9 |
xs = []
|
10 |
ys = []
|
|
|
4 |
import sys
|
5 |
|
6 |
ocr = MMOCR(det_config='model/config.py',
|
7 |
+
det_ckpt='model/synth-e20.pth', device='cpu')
|
8 |
+
|
9 |
def get_rec(points):
|
10 |
xs = []
|
11 |
ys = []
|
model/{epoch_20.pth → synth-e20.pth}
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a531a40c718d4884afadaee136463b4b7c43845fce23ab35cd8984a098ec9f01
|
3 |
+
size 98992601
|