Browse Source

fix proposal roi_score_blob bug (#430)

tags/20180704
Chang, Hui-Tang nihui 8 years ago
parent
commit
dc2a689d10
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/layer/proposal.cpp

+ 1
- 1
src/layer/proposal.cpp View File

@@ -360,7 +360,7 @@ int Proposal::forward(const std::vector<Mat>& bottom_blobs, std::vector<Mat>& to
for (int i=0; i<picked_count; i++)
{
float* outptr = roi_score_blob.channel(i);
outptr[i] = scores[ picked[i] ];
outptr[0] = scores[ picked[i] ];
}
}



Loading…
Cancel
Save