Giter Club home page Giter Club logo

research-seq2seq-htr's People

Contributors

littlethunder avatar mauvilsa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

research-seq2seq-htr's Issues

Attention weights remain constant during training

Thank you very much for sharing your code.
I am trying to reproduce your results on the IAM database. The training is working fine and the loss is decreasing. However, the attention weights stay at 0 during training.
Do you have an idea of what may be causing this issue ?
Here is an example of a test image after ~20 epochs.
test_c04-110-03-12_0

warning: no ground truth not found

Hi,
When running run_test.sh file I am getting this error. I guess it is coming from the 1149 lines of the htrsh.inc.sh file. The only change I made in htrsh.inc.sh is that I replace gwak to mwak at 1137 line because gwak was not found.
warning: no ground truth for m03-013-01,189
warning: no ground truth for m03-013-02,189
warning: no ground truth for m03-013-03,189
warning: no ground truth for m03-013-05,189
warning: no ground truth for m02-048-00,191
warning: no ground truth for m02-048-01,191
warning: no ground truth for m02-048-03,191
warning: no ground truth for m02-048-04,191
warning: no ground truth for m02-048-05,191
.
.
.
.
for all the files.
Can you help me in this?

Permission denied

Hi,
First of all thank you for sharing this code with us.
I am facing a Permission denied error while executing shell file ./tasas_cer.sh in a main_torch_latest.py in a line 312.
res_cer = sub.Popen(['./tasas_cer.sh', gt, decoded], stdout=sub.PIPE)

I also add shell=True but got the same error again.
I also tried to change the permission of that file by executing python command
os.chmod('tasas_cer.sh', stat.S_IXOTH)
but unfortunately I got the same error again.
I am running this code on google colab.
Can you help me out please?

Calculating the CER

hello, in order to Calculating the CER , i run ''python3 pytasas_words.py 1000 si'',the result as follow :
image

can you help me to solve the problem

thank you

some confusion about research paper & code

Hi , first of thanks for creating this repository and sharing it with community ..I had some confusion on reading the Research paper & code.
In page 5 of your research paper..under content based attention , you have mentioned:

-hi as the hidden state of the encoder at the current time step i∈ {0,1,...,N-1}
but shouldn't hi be the output of the encoder

-st as the hidden state of decoder at current time step t∈ {0,1,...,T-1}, where T is the maximum length of decoding characters
I believe this is implemented at line 48 of seq2seq.py How come the t∈ {0,1,...,T-1} , how can t be 0 ,as there will never case where t is 0 .

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.