xlearn icon indicating copy to clipboard operation
xlearn copied to clipboard

basic_string::_S_construct null not valid

Open HarborZeng opened this issue 3 years ago • 1 comments

当执行到ffm_model.fit的时候,报错如下,可能是我手动生成libffm格式数据有误,但是代码报错信息并不能给我带来任何可排查错误的线索,希望改进。

[32m[1m----------------------------------------------------------------------------------------------
           _
          | |
     __  _| |     ___  __ _ _ __ _ __
     \ \/ / |    / _ \/ _` | '__| '_ \ 
      >  <| |___|  __/ (_| | |  | | | |
     /_/\_\_____/\___|\__,_|_|  |_| |_|

        xLearn   -- 0.40 Version --
----------------------------------------------------------------------------------------------

[39m[0mterminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_S_construct null not valid

HarborZeng avatar Aug 11 '20 02:08 HarborZeng

我又调试了很久,发现此框架,在报错信息上非常保守,什么都不肯说,完全起不到排查的作用,哎,感谢作者吧,再见。

HarborZeng avatar Aug 11 '20 07:08 HarborZeng