pycaffe中的count_(385 vs.89)Blob大小超过INT_MAX

时间:2018-06-25 12:57:50

标签: deep-learning caffe pycaffe matcaffe

我的形状为input_shape: { dim: 1 dim: 1 dim: 104 dim: 281 dim: 389}的3D输入数据出现以下错误

即使解决方案提出了here并在caffe中启用USE_INDEX_64 := 1并重新编译makefile.config也不能解决我的问题。有什么建议吗?

F0625 13:27:00.879621  9180 blob.cpp:33] Check failed: shape[i] <= 0x7fffffff / count_ (385 vs. 89) blob size exceeds INT_MAX
*** Check failure stack trace: ***
    @     0x7f871a41c5cd  google::LogMessage::Fail()
    @     0x7f871a41e433  google::LogMessage::SendToLog()
    @     0x7f871a41c15b  google::LogMessage::Flush()
    @     0x7f871a41ee1e  google::LogMessageFatal::~LogMessageFatal()
    @     0x7f871aadce60  caffe::Blob<>::Reshape()
    @     0x7f871abca205  caffe::BaseConvolutionLayer<>::Reshape()
    @     0x7f871aaca48f  caffe::Net<>::Init()
    @     0x7f871aacbd11  caffe::Net<>::Net()
    @     0x7f871aa2c14a  caffe::Solver<>::InitTrainNet()
    @     0x7f871aa2d4b7  caffe::Solver<>::Init()
    @     0x7f871aa2d85a  caffe::Solver<>::Solver()
    @     0x7f871aa41823  caffe::Creator_SGDSolver<>()
    @           0x40a6d8  train()
    @           0x4075a8  main
    @     0x7f8718ed0830  __libc_start_main
    @           0x407d19  _start
    @              (nil)  (unknown)
Aborted (core dumped)

0 个答案:

没有答案