Traceback (most recent call last):


 "nlp_lstm.py", line 87, in <module>

train_tags_y = pad_sequences(train_tags_y, maxlen=MAX_LENGTH, padding='post')


 "/root/opt/lib/python3.6/site-packages/keras_preprocessing/sequence.py", line 60, in pad_sequences

'Found non-iterable: ' + str(x))
ValueError: `sequences` must be a list of iterables. Found non-iterable: <generator object <genexpr> at 0x7f146f4ba780>

Traceback (most recent call last):


 "train.py", line 250, in <module>

initial_weights=initial_weights)


 "train.py", line 213, in train

test_xs, test_ys = unzip(list(read_data("test/*.png"))[:batch_size])


 "train.py", line 64, in unzip

xs, ys = zip(*b)
ValueError: not enough values to unpack (expected 2, got 0)
