neural-motifs icon indicating copy to clipboard operation
neural-motifs copied to clipboard

Is it a bug to increase the best_ind in decoder_rnn.py?

Open fengyang0317 opened this issue 6 years ago • 2 comments
trafficstars

https://github.com/rowanz/neural-motifs/blob/master/lib/lstm/decoder_rnn.py#L227 It seems that the best_ind is already in the 1-150. Why do you add best_ind by 1 here?

fengyang0317 avatar Mar 03 '19 03:03 fengyang0317

hi there,

good question! looking at it again, I'm not sure what I was doing there. unfortunately I don't have too much time to investigate this at the moment, but it's possible there was a bug in the code. Note that this was the code responsible for all the experiments in the paper, so fixing this might increase performance - if it was indeed a problem.

curious to hear your thoughts!!

Rowan

rowanz avatar Mar 11 '19 20:03 rowanz

Hi, I think in decoder_rnn.py line56, Rowan had added a ['start'] in the zero index. So is it actually 2-151 ?

simonJJJ avatar Sep 05 '19 13:09 simonJJJ