alibaba / EasyRec

A framework for large scale recommendation algorithms.
Apache License 2.0
1.76k stars 319 forks source link

InvalidArgumentError (see above for traceback): Column size of the record to be saved: '588' does not match the default record column size: '17'. #16

Closed xia-huang-411303 closed 2 years ago

xia-huang-411303 commented 3 years ago

InvalidArgumentError (see above for traceback): Column size of the record to be saved: '588' does not match the default record column size: '17'.

xia-huang-411303 commented 3 years ago

PAI上数据字段配置错误 config中每个input_fields需要与数据表一一对齐。上图错误为数据表588列数据,input_fields只配置了17列。如有大量字段在训练中用不到,建议把使用的列从全量表里select出来,形成单独的表,也较少了io消耗,提高训练速度。 其它未知的string_to_number错误,或者field number不一致,或者TagFeature的Id数和Weight数不一致,都有可能是odps table column和config的不一致导致的。