Beam Search finalize() bug: not update parents in the "body"
See original GitHub issueThe “body” function for the tf.while_loop extracts final decoding results time step by time step.
But the state “parents” has not been updated in the body function!
def body(time, outputs_ta, parents):
... (no update of parents) ...
return (time + 1), outputs_ta, parents
This should be as the following:
return (time + 1), outputs_ta, input_t.parents
since parents for the next step are stored in “input_t” which is extracted for the current time step.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5
Top Results From Across the Web
Bug listing with status RESOLVED with resolution OBSOLETE ...
Bug :1523 - "[IDEA] Offload work by distributing trivial ebuild maintenance to users, ... does not appear to handle portage updates/moves" status:RESOLVED ...
Read more >How to Implement a Beam Search Decoder for Natural ...
Let's make this concrete with an example. We can define a function to perform the beam search for a given sequence of probabilities...
Read more >The fork() System Call
It takes no arguments and returns a process ID. The purpose of fork() is to create a new process, which becomes the child...
Read more >SWAT USER GROUP
1- Problem in run SWAT. 2- Question about SWAT. 3- Swat input. 4- Daily data. 5- Calibration in SWAT. 6- Arc SWAT model...
Read more >CS 010 943 - ERIC - Department of Education
there are directions on the tape that do not appear ... Parents and Children Together is published by the Family Literacy ... Our...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@AaronYALai maybe you are right, i modified the beaming search decoding according to your comment, the performance has 5% improvement on my own dataset.