"git@developer.sourcefind.cn:wangsen/paddle_dbnet.git" did not exist on "df05d1fd1591b5a624c13b7e687a2e57ac6c6a4a"
Unverified Commit 12e128f9 authored by zhoujun's avatar zhoujun Committed by GitHub
Browse files

Merge pull request #5141 from tink2123/requirments

mv fasttext for requirements
parents b103b755 845cecd0
......@@ -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):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment