Giter Site home page Giter Site logo

not working for below type of images (other than given by you). I think we need to put images in particular format about im2markup HOT 8 CLOSED

harvardnlp avatar harvardnlp commented on July 17, 2024
not working for below type of images (other than given by you). I think we need to put images in particular format

from im2markup.

Comments (8)

vyaslkv avatar vyaslkv commented on July 17, 2024

int
for this also not working

giving results as
\begin{array} { r c l } \end{array}

from im2markup.

vyaslkv avatar vyaslkv commented on July 17, 2024

I have even done the preprocessing step but still not getting results:
onmt_preprocess -data_type img
-src_dir data/im2text/images/
-train_src data/im2text/src-train.txt
-train_tgt data/im2text/tgt-train.txt -valid_src data/im2text/src-val.txt
-valid_tgt data/im2text/tgt-val.txt -save_data data/im2text/demo
-tgt_seq_length 150
-tgt_words_min_frequency 2
-shard_size 500
-image_channel_size 1

from im2markup.

vyaslkv avatar vyaslkv commented on July 17, 2024

is there any way I could convert my images to your type of images

from im2markup.

vyaslkv avatar vyaslkv commented on July 17, 2024

If I need to retrain the model for my type of images then can you tell me the format it will be required

format of data to retrain the model using python

from im2markup.

vyaslkv avatar vyaslkv commented on July 17, 2024

is there any dataset which I could use with the python implementation to train the model and get the results on normal other images as well

from im2markup.

vyaslkv avatar vyaslkv commented on July 17, 2024

http://bit.ly/2E7H8tX

I found the above data but it is in different format can you help me how can I use this type of data for training

from im2markup.

da03 avatar da03 commented on July 17, 2024

Sorry for the delay. Are you training a new model or are you using the pretrained one? The pretrained one is only trained on a particular rendering setup so it's not surprising that it fails on out-of-training-distribution data at test time. To make it work, a new model needs to be trained with data encompassing enough test-style images (font, size, etc).

from im2markup.

vyaslkv avatar vyaslkv commented on July 17, 2024

I used the pretrained model. Thanks for replying!!

from im2markup.

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.