Rahul

Results 5 comments of Rahul

I am also getting NaN. Found out the culprit to be line #227: `log_dists = [tf.log(dist) for dist in final_dists]` in model.py

@hate5six I'm still thinking about an appropriate solution. Each dist is a tensor shape (batch_size, extended_vsize), so I am not sure if `dist != 0` will work. Also, I want...

Trying to convert NaNs to 0 for now. Need to further look for the cause of 0s coming up in the distribution. @abisee @StevenLOL reopen the issue? ``` def _change_nan_to_number(self,...

The below change worked for me. Add the below code to `def _calc_final_dist(self, vocab_dists, attn_dists)`. Info is in comments. ``` # OOV part of vocab is max_art_oov long. Not all...