count_ (385 vs. 89) blob size exceeds INT_MAX in pycaffe

0

I am getting the following error for my 3D input data with shape input_shape: { dim: 1 dim: 1 dim: 104 dim: 281 dim: 389}

Even after the solution proposed here and recompiling caffe with enabling USE_INDEX_64 := 1 in makefile.config did not solve my issue. Any suggestion?

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)
deep-learning
caffe
pycaffe
matcaffe
asked on Stack Overflow Jun 25, 2018 by sc241

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0