caffe编译没有问题,开始训练一些报错

I1028 21:50:30.544627 22082 net.cpp:122] Setting up prob
I1028 21:50:30.544636 22082 net.cpp:129] Top shape: 50 10 (500)
I1028 21:50:30.544642 22082 net.cpp:137] Memory required for data: 5988600
I1028 21:50:30.544651 22082 layer_factory.hpp:77] Creating layer loss
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
*** Aborted at 1540734630 (unix time) try "date -d @1540734630" if you are using GNU date ***
PC: @     0x7f2b68a2d428 gsignal
*** SIGABRT (@0x5642) received by PID 22082 (TID 0x7f2b6aeda740) from PID 22082; stack trace: ***
    @     0x7f2b68a2d4b0 (unknown)
    @     0x7f2b68a2d428 gsignal
    @     0x7f2b68a2f02a abort
    @     0x7f2b6906784d __gnu_cxx::__verbose_terminate_handler()
    @     0x7f2b690656b6 (unknown)
    @     0x7f2b69065701 std::terminate()
    @     0x7f2b69065919 __cxa_throw
    @     0x7f2b69065ebc operator new()
    @     0x7f2b6a1e844d std::__cxx11::basic_string<>::_M_construct<>()
    @     0x7f2b6a1fc929 caffe::Net<>::Init()
    @     0x7f2b6a1fe1ce caffe::Net<>::Net()
    @     0x7f2b6a2072d5 caffe::Solver<>::InitTrainNet()
    @     0x7f2b6a2086c5 caffe::Solver<>::Init()
    @     0x7f2b6a2089df caffe::Solver<>::Solver()
    @     0x7f2b6a227791 caffe::Creator_SGDSolver<>()
    @           0x40a9e8 train()
    @           0x4072e0 main
    @     0x7f2b68a18830 __libc_start_main
    @           0x407b09 _start
    @                0x0 (unknown)
Aborted (core dumped)
已邀请:

要回复问题请先登录注册