caffe搭建自己的网络遇见的问题

来源:互联网 发布:u盘格式化数据恢复软件 编辑:程序博客网 时间:2024/06/14 21:29
*** Aborted at 1493298796 (unix time) try "date -d @1493298796" if you are using GNU date ***
PC: @     0x7f9f6f2eb8d6 caffe::PriorBoxLayer<>::Reshape()
*** SIGSEGV (@0x0) received by PID 4758 (TID 0x7f9f6fd16800) from PID 0; stack trace: ***
    @     0x7f9f6d25b4b0 (unknown)
    @     0x7f9f6f2eb8d6 caffe::PriorBoxLayer<>::Reshape()
    @     0x7f9f6f1854e1 caffe::Net<>::Init()
    @     0x7f9f6f186d61 caffe::Net<>::Net()
    @     0x7f9f6f163d9a caffe::Solver<>::InitTrainNet()
    @     0x7f9f6f165097 caffe::Solver<>::Init()
    @     0x7f9f6f16543a caffe::Solver<>::Solver()
    @     0x7f9f6f19ae23 caffe::Creator_SGDSolver<>()
    @           0x40afb9 train()
    @           0x4077c8 main
    @     0x7f9f6d246830 __libc_start_main
    @           0x408099 _start
    @                0x0 (unknown)
Segmentation fault (core dumped)


还没有解决,明天继续!

***************2017/4/29  华丽丽的分割线******************

我重新编译了caffe,但是这个问题并没有解决,【大哭】

仔细的阅读了别人的博客,发现还是有些问题的提示的。

http://blog.csdn.net/cham_3/article/details/53213033的错误是:给出的调用的堆栈 (stack trace)

    @     0x7fe47645db63 caffe::SGDSolver<>::GetLearningRate()    @     0x7fe47645dd72 caffe::SGDSolver<>::ApplyUpdate()    @     0x7fe47646949f caffe::Solver<>::Step()    @     0x7fe47646981f caffe::Solver<>::Solve()
所以,他的是solver出现的问题,我认为的是,在随机梯度下降时没有stepsize,所以错误。

我的错误指向的的调用堆栈感觉和PriorBoxLayer这个层有关,可能是我自定义的网络结构出现的问题,我再好好的找找。


****************************哭死的分割线*****************************

我的问题竟然是我在构建的新层时的bottom没有指明,只是写了top。

并且如果出现了这个问题,,可能是构建的新层的bottom 会是两个,你只写了一个【被自己的蠢笑哭了】



0 0