Skip to content

Commit

Permalink
remove last (wrong) fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hhexiy committed Apr 20, 2017
1 parent f36f227 commit c948fee
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/model/encdec.py
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,6 @@ def generate(self, sess, batch, encoder_init_state, max_len, copy=False, vocab=N
return result
else:
feed_dict = self.decoder.get_feed_dict(**decoder_args)
feed_dict[self.encoder.keep_prob] = 1. - self.encoder.dropout
true_final_state = sess.run((self.decoder.output_dict['final_state']), feed_dict=feed_dict)
return {'preds': decoder_output_dict['preds'],
'final_state': decoder_output_dict['final_state'],
Expand Down

0 comments on commit c948fee

Please sign in to comment.