Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

昨天代码跑tensorflow2ncnn报:libprotobuf FATAL /protobuf_install/include/google/protobuf/repeated_field.h:1184] CHECK failed: (index) < (current_size_) #163

Closed
dpars7 opened this issue Oct 19, 2017 · 3 comments

Comments

@dpars7
Copy link

dpars7 commented Oct 19, 2017

更新昨天代码,用tensorflow2ncnn跑Resnet.pb,报下面的错误:
[libprotobuf FATAL protobuf_install/include/google/protobuf/repeated_field.h:1184] CHECK failed: (index) < (current_size_):
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): CHECK failed: (index) < (current_size_):
Aborted (core dumped)

跟进发现是node.op() == "Maximum"时没有插入“MemoryData”所致;
后面增加下面的代码就没报错(9月20多号是默认这个为true):
if (node.op() == "Maximum")
isBinaryOp = true;

@FishermanZzhang
Copy link

我也碰到了这个问题,

Abs not supported yet !
nT #1
Sign not supported yet !
nT #1
Cast not supported yet !
nSrcT #1
DstT #3
Transpose not supported yet !
nT #1
Tperm #3
Shape not supported yet !
nT #1
out_type #3
StridedSlice not supported yet !
nnew_axis_mask #0
end_mask #0
T #3
.....
[libprotobuf FATAL /usr/local/include/google/protobuf/repeated_field.h:1522] CHECK failed: (index) < (current_size_):
terminate called after throwing an instance of 'google::protobuf::FatalException'
what(): CHECK failed: (index) < (current_size_):
已放弃 (核心已转储)

什么时候有结果方案 @nihui

@nihui
Copy link
Member

nihui commented Dec 18, 2018

duplicate of #5

@nihui nihui closed this as completed Dec 18, 2018
@YUHAO19910716
Copy link

metoo.
i get this error:who can help me
[libprotobuf FATAL /home/erisuser/p4sw/sw/gpgpu/MachineLearning/DIT/externals/protobuf/x86_64/10.0/include/google/protobuf/repeated_field.h:1408] CHECK failed: (index) < (current_size_):
terminate called after throwing an instance of 'google_private::protobuf::FatalException'
what(): CHECK failed: (index) < (current_size_):
Aborted (core dumped)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants