show_attend_and_tell.tensorflow icon indicating copy to clipboard operation
show_attend_and_tell.tensorflow copied to clipboard

About state = tf.zeros([self.batch_size, self.lstm.state_size])

Open ecilay opened this issue 7 years ago • 0 comments

In model.py, both in function build_model(self) and build_generator(self, maxlen), there is a line state = tf.zeros([self.batch_size, self.lstm.state_size]). However, this line cannot run (I am running on tf 0.12). Since self.lstm.state_size is a tuple, while here i believe it just needs an int.

ecilay avatar Mar 31 '17 22:03 ecilay