学无先后,达者为师

网站首页 编程语言 正文

Check failed: top_shape[j] == bottom[i]->shape(j) (24 vs. 26) All inputs must have the same shape, e

作者:别出BUG求求了 更新时间: 2023-11-12 编程语言

1. 问题描述

yolov3-tiny中使用vitis-ai中转换为caffe模型的过程中出错:

concat_layer.cpp:42] Check failed: top_shape[j] == bottom[i]->shape(j)
(24 vs. 26) All inputs must have the same shape, except at
concat_axis.

在这里插入图片描述

2. 解决办法

找出的shape是208/8=26 不等于24,因此报错

找到出错不匹配的地方是:就是再网络的layer20-concat处。打开模型的cfg文件,将8去除掉就匹配了
在这里插入图片描述

原文链接:https://blog.csdn.net/weixin_39589455/article/details/130561469

  • 上一篇:没有了
  • 下一篇:没有了
栏目分类
最近更新