分享web开发知识

注册/登录|最近发布|今日推荐

主页 IT知识网页技术软件开发前端开发代码编程运营维护技术分享教程案例
当前位置:首页 > IT知识

segnet caffe upsample top index 0 out of range - check scale settings match input pooling layer's downsample setup

发布时间:2023-09-06 01:47责任编辑:赖小花关键词:暂无标签
I0305 15:58:08.603567 14672 solver.cpp:250] Solving VGG_ILSVRC_16_layerI0305 15:58:08.603581 14672 solver.cpp:251] Learning Rate Policy: stepF0305 16:00:32.416029 14672 upsample_layer.cpp:127] upsample top index 0 out of range - check scale settings match input pooling layer‘s downsample setup*** Check failure stack trace: ***@ 0x7f372f8aa5cd google::LogMessage::Fail()@ 0x7f372f8ac433 google::LogMessage::SendToLog()@ 0x7f372f8aa15b google::LogMessage::Flush()@ 0x7f372f8ace1e google::LogMessageFatal::~LogMessageFatal()@ 0x7f373010616f caffe::UpsampleLayer<>::Backward_cpu()@ 0x7f37300c8042 caffe::Net<>::BackwardFromTo()@ 0x7f37300c8241 caffe::Net<>::Backward()@ 0x7f37301efc7d caffe::Solver<>::Step()@ 0x7f37301f0754 caffe::Solver<>::Solve()@ 0x408019 train()@ 0x405ce8 main@ 0x7f372ef5e830 __libc_start_main@ 0x406289 _start@ (nil) (unknown)Aborted (core dumped)

这事cpu版本的错误,我看到的解决方法如下:

由于这是作者自己改的caffe,而且版本比较老,所以可以做如下改动:

将upsample_layer.cpp中的第127,128行直接注释掉:

然后

make cleanmake all

也就是重新编译caffe,因为这个cpp是caffe代码,所以必须重新编译caffe才可以。

segnet caffe upsample top index 0 out of range - check scale settings match input pooling layer's downsample setup

原文地址:https://www.cnblogs.com/SweetBeens/p/8653119.html

知识推荐

我的编程学习网——分享web前端后端开发技术知识。 垃圾信息处理邮箱 tousu563@163.com 网站地图
icp备案号 闽ICP备2023006418号-8 不良信息举报平台 互联网安全管理备案 Copyright 2023 www.wodecom.cn All Rights Reserved