Hibernate: drop table if exists hibernate_sequencesHibernate: createtable hibernate_sequences (sequence_name varchar(255) not null, sequence_next_hi_value bigint, primary--------------++----------------+
1 row in set (0.00 s
texts_to_sequences(twt)返回空数组。因此,预测总是否定的。所有的投入。from keras.preprocessing.sequence import pad_sequences#vectorizing the tweet by the pre-fittedtokenizer instanceprint(twt)
#padding the tweet to have exactlythe
print('mytrain type:', type(mytrain))mytrain2 = sequence.pad_sequences(mytrain, maxlen=maxlen)D:\python\python.exe D:/workspace/YYYY/test/test_sequences.py
Using TensorFlow", line 22, in <m