Segnet Caffe Upsample Top index 0 out of Range-check scale settings match input pooling layer ' s downsample setup

Source: Internet
Author: User
Tags stack trace

I0305 the: -:08.603567 14672Solver.cpp: -] Solving vgg_ilsvrc_16_layeri0305 the: -:08.603581 14672Solver.cpp:251] Learning rate policy:stepf0305 -:xx:32.416029 14672Upsample_layer.cpp:127] Upsample Top Index0  outof Range-check scale settings match input pooling layer's downsample SetupCheck failure Stack Trace: * * *@ 0X7F372F8AA5CDgoogle::logmessage::fail () @0x7f372f8ac433Google::logmessage::sendtolog () @0x7f372f8aa15bGoogle::logmessage::flush () @0x7f372f8ace1egoogle::logmessagefatal::~logmessagefatal () @0x7f373010616fCaffe::upsamplelayer<>:: Backward_cpu () @0x7f37300c8042Caffe::net<>:: Backwardfromto () @0x7f37300c8241Caffe::net<>:: Backward () @0x7f37301efc7dCaffe::solver<>:: Step () @0x7f37301f0754Caffe::solver<>:: Solve () @0x408019train () @0x405ce8main@0x7f372ef5e830__libc_start_main@0x406289_start@ (nil) (unknown) aborted (core dumped)

This is a CPU version error, and I see the workaround as follows:

Since this is the author's own Caffe, and the version is older, so you can make the following changes:

Comment out the line 127,128 in Upsample_layer.cpp directly:

And then

Make Cleanmake All

That is, recompile Caffe, because this CPP is Caffe code, so you have to recompile caffe.

Segnet Caffe Upsample Top index 0 out of Range-check scale settings match input pooling layer ' s downsample setup

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.