GithubHelp home page GithubHelp logo

缺少包 about chineseocr_lite HOT 6 CLOSED

daybreak-u avatar daybreak-u commented on May 8, 2024
缺少包

from chineseocr_lite.

Comments (6)

ahxxm avatar ahxxm commented on May 8, 2024 3

python app.py需要以下依赖:

web.py
numpy
scipy
pillow
torch
torchvision
opencv-contrib-python

另外如果python版本不是3.6,还需要重新编一份pse.so :

# ImportError: Python version mismatch: module was compiled for Python 3.6, but the interpreter version is incompatible: 3.8.1 (default, Jan 22 2020, 06:38:00) 

cd psenet/pse
mv pse.so pse.so.3.6
make

from chineseocr_lite.

DayBreak-u avatar DayBreak-u commented on May 8, 2024

torchvison==0.4.0

from chineseocr_lite.

Lie-huo avatar Lie-huo commented on May 8, 2024

torchvison==0.4.0

我用的是windows系统,torchvison==0.2.2,好像是对应着linux系统的torchvison==0.4.2,还是报错,看来是两个系统的torchvison有些差别。

from chineseocr_lite.

DayBreak-u avatar DayBreak-u commented on May 8, 2024

torchvison==0.4.0

我用的是windows系统,torchvison==0.2.2,好像是对应着linux系统的torchvison==0.4.2,还是报错,看来是两个系统的torchvison有些差别。

可以注释掉这个导入包,把下面加载mbv2预训练模型也注释了,这是在训练中用的

from chineseocr_lite.

windly4548 avatar windly4548 commented on May 8, 2024

我的环境是ubuntu14,使用 ufoym/deepo镜像包,执行python3 app.py 8080后出现错误:
Traceback (most recent call last):
File "app.py", line 12, in
from model import text_predict,crnn_handle
File "/data/chineseocr_lite/model.py", line 1, in
from config import *
File "/data/chineseocr_lite/config.py", line 40, in
from crnn.keys import alphabetChinese as alphabet
File "/data/chineseocr_lite/crnn/init.py", line 3, in
from .CRNN import CRNNHandle
ModuleNotFoundError: No module named 'crnn.CRNN'

from chineseocr_lite.

DayBreak-u avatar DayBreak-u commented on May 8, 2024

我的环境是ubuntu14,使用 ufoym/deepo镜像包,执行python3 app.py 8080后出现错误:
Traceback (most recent call last):
File "app.py", line 12, in
from model import text_predict,crnn_handle
File "/data/chineseocr_lite/model.py", line 1, in
from config import *
File "/data/chineseocr_lite/config.py", line 40, in
from crnn.keys import alphabetChinese as alphabet
File "/data/chineseocr_lite/crnn/init.py", line 3, in
from .CRNN import CRNNHandle
ModuleNotFoundError: No module named 'crnn.CRNN'

你好,我今天push的时候不小心吧crnn目录下的CRNN.py 删了,现在传了,你更新一下

from chineseocr_lite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.