Hi, I don’t know if you still need help but you use:
train_texts, train_texts= read_imdb_split('aclImdb/train')
and that makes me think you might have an error by assigning both text and label to the same train_texts variable.
Hope it can help you