Spaces:
Build error
Build error
napatswift
commited on
Commit
•
c32fbbb
1
Parent(s):
78be22c
Update model
Browse files- main.py +1 -1
- model/{epoch_40.pth → model.pth} +2 -2
- model/synth-e20.pth +0 -3
main.py
CHANGED
@@ -4,7 +4,7 @@ import cv2
|
|
4 |
import sys
|
5 |
|
6 |
ocr = MMOCR(det_config='model/config.py',
|
7 |
-
det_ckpt='model/
|
8 |
|
9 |
def get_rec(points):
|
10 |
xs = []
|
|
|
4 |
import sys
|
5 |
|
6 |
ocr = MMOCR(det_config='model/config.py',
|
7 |
+
det_ckpt='model/model.pth', device='cpu')
|
8 |
|
9 |
def get_rec(points):
|
10 |
xs = []
|
model/{epoch_40.pth → model.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:600380e7c057c12f0e031e2753d3bf3b2643781b9b04331a37ad4a55722d8700
|
3 |
+
size 99977433
|
model/synth-e20.pth
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:a531a40c718d4884afadaee136463b4b7c43845fce23ab35cd8984a098ec9f01
|
3 |
-
size 98992601
|
|
|
|
|
|
|
|