Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
paddle_dbnet
Commits
12e128f9
Unverified
Commit
12e128f9
authored
Dec 31, 2021
by
zhoujun
Committed by
GitHub
Dec 31, 2021
Browse files
Merge pull request #5141 from tink2123/requirments
mv fasttext for requirements
parents
b103b755
845cecd0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
ppocr/data/imaug/operators.py
ppocr/data/imaug/operators.py
+1
-1
requirements.txt
requirements.txt
+0
-1
No files found.
ppocr/data/imaug/operators.py
View file @
12e128f9
...
...
@@ -23,7 +23,6 @@ import sys
import
six
import
cv2
import
numpy
as
np
import
fasttext
class
DecodeImage
(
object
):
...
...
@@ -136,6 +135,7 @@ class ToCHWImage(object):
class
Fasttext
(
object
):
def
__init__
(
self
,
path
=
"None"
,
**
kwargs
):
import
fasttext
self
.
fast_model
=
fasttext
.
load_model
(
path
)
def
__call__
(
self
,
data
):
...
...
requirements.txt
View file @
12e128f9
...
...
@@ -12,5 +12,4 @@ cython
lxml
premailer
openpyxl
fasttext
==0.9.1
paddlenlp
>=2.2.1
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment