Caffe: Error Check failed: match_index[p] < gt_bboxes.size() when applied a pvanet as model in SSD

Created on 5 Jun 2017  路  5Comments  路  Source: weiliu89/caffe

@weiliu89 Hello, I'm using a pvanet as the features extraction model in SSD. I have added test_loss layer and silence layer in my test net file. However, I got this as an error:

bbox_utils.cu: 595] Check failed: match_index[p] < gt_bboxes.size( ) (5 vs. 1)

What does this error mean? Thank you in advance!

All 5 comments

Could any one tell me what do they mean, match_index and gt_bboxes.size()?

Check the code.

@Jiaqiww @liyuanyaun@louis0802 Hello, I met the same problem: Check failed: match_index[p] < gt_bboxes.size() (4vs1) when I added another data layer and test loss, could anybody tell me how to fix it? Thanks a lot!

@wantai2017 I met the same problem. I add loss_weight=1 to the final layer of the new net, and this problem solved. The reason is the new net do not have a loss layer if we add other layer with multi_box_loss_layer. This wil trigger a bug (may be) in bbox_util.cpp

@wujiankepj

I met the same problem. I add loss_weight=1 to the final layer of the new net, and this problem solved. The reason is the new net do not have a loss layer if we add other layer with multi_box_loss_layer. This wil trigger a bug (may be) in bbox_util.cpp

would you explain the solution more ?thanks,
I run Mobile-v1-SSD,and met the same problem,but i donnot kown how to solver it,thanks again!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ZhihuaGao picture ZhihuaGao  路  6Comments

tumitx picture tumitx  路  5Comments

stoneyang picture stoneyang  路  3Comments

lcj1105 picture lcj1105  路  3Comments

zhenxing9968 picture zhenxing9968  路  7Comments