GithubHelp home page GithubHelp logo

Comments (5)

yghstill avatar yghstill commented on June 13, 2024

首先要谢谢编主的分享,我也看了代码逻辑,也有这个疑问,直接使用lenet里面的lenet_train_test.prototxt和lenet.prototxt来进行训练测试吗?希望早日得到您的解答。谢谢

from deep_ocr.

JinpengLI avatar JinpengLI commented on June 13, 2024

不好意思,那么迟回复,工作太累不是很想回复。

不是这个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.

tengshaofeng avatar tengshaofeng commented on June 13, 2024

非常详细谢谢。还有以下两个问题,能否得到您的指点:
1、我就是基于这篇paper里面的M7-1网络结构训练的,用tensorflow,为啥交叉损失一直在8下不去啊,一开始是8.3,循环n次还是8.2,而且调了各种优化器,学习率等。大神,你训练的时候会这样吗,你用了其他训练好的核参数对该网络初始化了吗

2、能否提供送入网络前的数据预处理代码呢?比如对比度最大化等

from deep_ocr.

yghstill avatar yghstill commented on June 13, 2024

感谢编主工作那么忙还回复,我去试试,我现在还在国内读研究生,也预见以后的工作会很忙碌,再次感谢。

from deep_ocr.

ilovin avatar ilovin commented on June 13, 2024

pdf下不了了,有没有下过的传一份?

from deep_ocr.

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.