^CTraceback (most recent call last):
File "model.py", line 97, in <module>
my.train()
File "model.py", line 81, in train
trainXY, trainY = self.generate_trainig_data()
File "model.py", line 17, in generate_trainig_data
self.vector_dict = vector.load_vectors("vectors.bin") #在此处中断
File "/data00/home/liyufei.ltitan/python3/vector.py", line 54, in load_vectors
c = input_file.read(1)
KeyboardInterrupt
######时间
real 31m25.843s
user 23m44.974s
sys 7m33.714s
楼主啊,你写的程序加载vectors就能加载好几个小时啊,别说训练了。 你这个for循环真头痛啊......