天天看点

[Caffe]:关于*** Aborted at 1479432790 (unix time) try "date -d @1479432790" 错误的另一种原因

转自:http://blog.csdn.net/cham_3/article/details/53213033

这两天在caffe跑网络,原本的lr_policy:”fixed”,后面更改了策略,使用lr_policy:”step”。但是却出现了如下错误:

*** Aborted at  (unix time) try "date -d @1479432790" if you are using GNU date ***
PC: @      caffe::SGDSolver<>::GetLearningRate()
*** SIGFPE (@0x7fe47645db63) received by PID  (TID ) from PID ; stack trace: ***
    @      (unknown)
    @      caffe::SGDSolver<>::GetLearningRate()
    @      caffe::SGDSolver<>::ApplyUpdate()
    @      caffe::Solver<>::Step()
    @      caffe::Solver<>::Solve()
    @            train()
    @            main
    @      (unknown)
    @            _start
    @                 (unknown)
Floating point exception (core dumped)
           

博主找了网上好多答案,都与自己的情况不符(每次遇到都是别人没遇到的也是醉了)。花了两天时间,不断地重新make clean ;make all都没有解决。后来回头去看改过的地方,发现居然是少加了stepsize:10000。由于未指定stepsize导致计算learning rate时浮点数格式异常。

只能说自己太粗心了,吃一堑长一智,以后得多注意。