tal-tech / SAN

Syntax-Aware Network for Handwritten Mathematical Expression Recognition
91 stars 22 forks source link

Wrong input for c2p teacher forcing? #13

Open trunggnsap opened 1 year ago

trunggnsap commented 1 year ago

https://github.com/tal-tech/SAN/blob/abd2b5b40340ecc4c88dcc104d0bc23085147d34/models/Hierarchical_attention/decoder.py#L122

It seems should be: c2p_hidden = self.c2p_out_gru(c2p_context_vec, c2p_hidden_first)

Is it right?