CastellanZhang/alphaPLM

模型文件预测数值越界

Opened this issue · 1 comments

感谢作者提供一个smart 工具,做小数据实验时,发现了一个越界问题
测试的数据已经上传为zip格式。
下面是执行的工具:
cat train| ./plm_train -core 20 -piece_num 20 -m plm_featweight
cat train | ./plm_predict -core 1 -piece_num 20 -m plm_featweight -out fm_pre_plm.txt
terminate called after throwing an instance of 'std::out_of_range'

看plm_featweight model输出的文件,发现有的值貌似double越界了,
train.zip

看你的数据特征值的绝对值大都超过1了,需要归一化,否则很容易导致NAN