caffe+segnet 实验笔记二——因为类数目不同引起的错误

I0315 11:03:46.887277  7395 net.cpp:247] Network initialization done.
I0315 11:03:46.887281  7395 net.cpp:248] Memory required for data: 1089331264
I0315 11:03:46.887532  7395 solver.cpp:42] Solver scaffolding done.
I0315 11:03:46.887652  7395 solver.cpp:250] Solving VGG_ILSVRC_16_layer
I0315 11:03:46.887657  7395 solver.cpp:251] Learning Rate Policy: step
*** Aborted at 1521083038 (unix time) try "date -d @1521083038" if you are using GNU date ***
PC: @     0x7fee578bb75e caffe::SoftmaxWithLossLayer<>::Forward_cpu()
*** SIGSEGV (@0x23301758) received by PID 7395 (TID 0x7fee57d40ac0) from PID 590354264; stack trace: ***
    @     0x7fee569374b0 (unknown)
    @     0x7fee578bb75e caffe::SoftmaxWithLossLayer<>::Forward_cpu()
    @     0x7fee578e1fca caffe::Net<>::ForwardFromTo()
    @     0x7fee578e2307 caffe::Net<>::ForwardPrefilled()
    @     0x7fee578ff375 caffe::Solver<>::Step()
    @     0x7fee578ffe54 caffe::Solver<>::Solve()
    @           0x407f09 train()
    @           0x405c58 main
    @     0x7fee56922830 __libc_start_main
    @           0x406179 _start
段错误 (核心已转储)

 以上就是在调整了图片大小,unsampled错误 消失之后,新出现的错误。

在改了solver,inference,train.prototxt三个文件里面类的种类之后,出现了这个错误,初步猜测是由于我的cpu跑不,前面解释过我的gpu太差装不上cuda

所以之后有两种方案来试探是否是跑不起来:

  • 测试在原始的数据,一点不改得基础上,我的机器能不能跑
  • 用我们实验室的服务器安装gpu版本的,跑下
本博客专注于错误锦集,在作死的边缘试探
原文地址:https://www.cnblogs.com/SweetBeens/p/8573348.html