Hezi-Resheff/Oreilly-Learning-TensorFlow

bug in 05__text_and_visualizations/LSTM_supervised_embeddings.py

ilyarudyak opened this issue · 0 comments

It seems there's a bug in lines 39-40: even sentences are building from the odd ones.

even_sentences.append(" ".join([digit_to_word_map[r] for r in rand_odd_ints])) odd_sentences.append(" ".join([digit_to_word_map[r] for r in rand_even_ints]))