word2vec无法预处理数据
Created by: xiegegege
环境:CentOS6 , python2.7 word2vec预处理数据后生成的文件都是空的(并没有提示出错),导致训练报错。 Traceback (most recent call last): File "train.py", line 354, in train(args) File "train.py", line 255, in train is_sparse=args.is_sparse) File "/home/data/xiege/models_cuda8/models-develop/fluid/PaddleRec/word2vec/network_conf.py", line 106, in skip_gram_word2vec math.sqrt(dict_size)))) ZeroDivisionError: float division by zero