omni-us / research-seq2seq-HTR

MIT License
20 stars 13 forks source link

some confusion about research paper & code #3

Open thelastfunction opened 5 years ago

thelastfunction commented 5 years ago

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 .