Comments (6)
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.
torchvison==0.4.0
from chineseocr_lite.
torchvison==0.4.0
我用的是windows系统,torchvison==0.2.2,好像是对应着linux系统的torchvison==0.4.2,还是报错,看来是两个系统的torchvison有些差别。
from chineseocr_lite.
torchvison==0.4.0
我用的是windows系统,torchvison==0.2.2,好像是对应着linux系统的torchvison==0.4.2,还是报错,看来是两个系统的torchvison有些差别。
可以注释掉这个导入包,把下面加载mbv2预训练模型也注释了,这是在训练中用的
from chineseocr_lite.
我的环境是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.
我的环境是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)
- 可以去除返回的框结果Bitmap么? HOT 4
- 为什么我整的golang版本的识别精度不如C#版本的? HOT 3
- 跑的时间久了会发生内存泄漏,内存使用线性增长 HOT 1
- C#项目运行时,加载模型需要 keys.txt 如何生成?找不到这个文件 HOT 1
- W:onnxruntime:, graph.cc:3490 CleanUnusedInitializersAndNodeArgs] Removing initializer '94'. It is not used by any node and should be removed from the model HOT 1
- layer load_param 106 611 failed HOT 3
- 报错No module named 'backend.tools',backend我装了的
- 如何使用指定GPU设备推理呢?
- Docker版本在m1处理器的mbp上
- 你好,请问可以返回一个字的坐标吗 HOT 2
- compress取值
- win11上ncnn_project编译不过去
- 安卓手机文字无法识别 HOT 4
- 策略是ncnn和MNN两种Android的demo,ncnn的识别在20-30ms,MNN的有的在100多ms,想问下有什么不同吗
- Inquiry Regarding Traditional Chinese Character Recognition Support in the Model
- 关于模型微调训练方法
- 支持繁体字与带音调的拼音识别吗?
- cpp demo OcrLiteOnnx VS2019编译错误 HOT 2
- VS编译DLL动态库想做纯静态连接的DLL HOT 2
- 关于只做文字区域监测的话可以不带key文件吗 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chineseocr_lite.