Giter Club home page Giter Club logo

Comments (4)

lukas-blecher avatar lukas-blecher commented on May 17, 2024 1

Hi, thank you for your interest in the project.
I can see 2 or 3 problems with the Image:

  1. The image is a bitmask (no gradient from black to white). The network has not trained on bitmask images.
  2. Underscores are underrepresented in the training set
  3. I don't recognize the font. Maybe the network has problems with that

When I rerender the image:
image
The model returns

U_{s t a k.\,k}=R_{s G2}\cdot Y_{s a A.\,k}+R_{r}\frac{L_{m}^{2}}{L_{r}^{2}}\cdot Y_{s1A F_{2}\,k}-\omega_{\psi s}\cdot\sigma_{2}L_{s2}\cdot Y_{s b P\,k}-\omega_{\psi s}\cdot\sigma_{2}L_{s a b F\,k}\cdot Y_{s1B F\,k}-\left(\frac{L_{m}\cdot R_{r}}{L_{r}^{2}}\right)\cdot\Psi_{r A k}

image
Which is not unbalanced and is fairly close to the input image.

I will take note and also train on a small subset of bitmask images. That should sort it out for the most part but will take some time.

from latex-ocr.

GopinathCool avatar GopinathCool commented on May 17, 2024

Thanks for your answer, the latex you have provided well balanced and also close to the image. But just one question how would be able to achieve that, do I need to update any part of the code?
It will be really helpful, if you could update and provide your model to handle bitmask images also.

from latex-ocr.

GopinathCool avatar GopinathCool commented on May 17, 2024

I have seen your recent commit, do I need to retrain the model with your formulae.zip images to handle bitmask images?

from latex-ocr.

lukas-blecher avatar lukas-blecher commented on May 17, 2024

I have trained a new model (slightly different architecture) with the new commit 005648b.
The font is still hard to read for the model but it works. If you have problems try to change the temperature.

from latex-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.