Git Product home page Git Product logo

Comments (4)

dyning avatar dyning commented on May 19, 2024

由于基于Attention损失的识别模型和基于CTC的识别模型推理差别很大,目前还在调试中。对于中文文本识别,建议优先选择基于CTC损失的识别模型,实践中也发现基于Attention损失的效果不如基于CTC损失的识别模型。

from paddleocr.

LDOUBLEV avatar LDOUBLEV commented on May 19, 2024

已解决attention模型转inference model的问题

from paddleocr.

chenxuezhao avatar chenxuezhao commented on May 19, 2024

@LDOUBLEV 你好,请问您是怎么解决的?我用export_model.py 转换attention模型为inference model的时候会报

ValueError: All elements in shape must be positive when it's a list or tuple

的错误。我的转换命令如下:

python3 tools/export_model.py -c configs/rec/rec_r34_vd_tps_bilstm_att.yml -o Global.checkpoints=./output/rec/rec_r34_vd_tps_bilstm_att/best_accuracy Global.save_inference_dir=./inference/rec_att

from paddleocr.

nissansz avatar nissansz commented on May 19, 2024

crnn配置中的attention 和ctc loss哪个准确率高?rec_r34_vd_none_bilstm_ctc.yml rec_r34_vd_none_none_ctc.yml rec_r34_vd_tps_bilstm_att.yml rec_r34_vd_tps_bilstm_ctc.yml

from paddleocr.

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.