Comments (5)
首先要谢谢编主的分享,我也看了代码逻辑,也有这个疑问,直接使用lenet里面的lenet_train_test.prototxt和lenet.prototxt来进行训练测试吗?希望早日得到您的解答。谢谢
from deep_ocr.
不好意思,那么迟回复,工作太累不是很想回复。
不是这个lenet
https://github.com/JinpengLI/deep_ocr/blob/master/data/caffe_nets/lower_eng/lenet_train_test.prototxt
网格是基于这篇文章开发的
http://cs231n.stanford.edu/reports/zyh_project.pdf
中文训练的网格在百度云那个训练好的模型下载:
deep_ocr_workspace/data/chongdata_caffe_cn_sim_digits_64_64/lenet_train_test.prototxt
可以直接调用这个脚本来训练网络。
deep_ocr_workspace/data/chongdata_caffe_cn_sim_digits_64_64/train_lenet.sh
具体训练好的模型是在百度云可以下载,然后调用:
base_dir = "/workspace/data/chongdata_caffe_cn_sim_digits_64_64"
model_def = os.path.join(base_dir, "deploy_lenet_train_test.prototxt")
model_weights = os.path.join(base_dir, "lenet_iter_50000.caffemodel")
y_tag_json_path = os.path.join(base_dir, "y_tag.json")
from deep_ocr.
非常详细谢谢。还有以下两个问题,能否得到您的指点:
1、我就是基于这篇paper里面的M7-1网络结构训练的,用tensorflow,为啥交叉损失一直在8下不去啊,一开始是8.3,循环n次还是8.2,而且调了各种优化器,学习率等。大神,你训练的时候会这样吗,你用了其他训练好的核参数对该网络初始化了吗
2、能否提供送入网络前的数据预处理代码呢?比如对比度最大化等
from deep_ocr.
感谢编主工作那么忙还回复,我去试试,我现在还在国内读研究生,也预见以后的工作会很忙碌,再次感谢。
from deep_ocr.
pdf下不了了,有没有下过的传一份?
from deep_ocr.
Related Issues (20)
- Hi,你好。我用虫数据的教程制作了lmdb文件,lenet训练,效果不好 HOT 1
- 11.2号,我没有成功 HOT 8
- 通过 Docker 安装,识别问题 HOT 3
- 请问您的训练数据的字体大小都是统一的吗,还有文字在图片的位置都是居中的呢还是不同位置的都有
- 自然场景文字识别效果目前还不及Tesseract,为什么不考虑用深度网络检测文字呢?
- 环境是python几啊,2.6安装缺少一大堆模块 HOT 1
- deep_ocr_make_caffe_dataset的时候报错 HOT 1
- 测试程序运行出错
- 识别准确率很低 HOT 5
- docker环境无法运行
- 如何得到输出结果? HOT 1
- 请教 HOT 1
- os problem
- ImportError: No module named deep_ocr.ocrolib HOT 6
- docker下,图片路径小问题
- Could not open file /workspace/data/chongdata_caffe_cn_sim_digits_64_64/deploy_lenet_train_test.prototxt HOT 1
- Failed to parse NetParameter file
- ModuleNotFoundError: No module named 'deep_ocr.ocrolib' HOT 1
- ModuleNotFoundError: No module named 'caffe'
- 请问如何能像tesseract一样输出每个字的坐标?
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 deep_ocr.