提交 4343be33 编写于 作者: Y Yuan Gao 提交者: GitHub

Update DetectionUtil.cpp

上级 dade4272
......@@ -536,8 +536,7 @@ void getDetectionOutput(const real* confData,
MatrixPtr outBuffer;
Matrix::resizeOrCreate(outBuffer, numKept, 7, false, false);
real* bufferData = outBuffer->getData();
for (size_t i = 0; i < 7; i++)
bufferData[i] = -1;
for (size_t i = 0; i < 7; i++) bufferData[i] = -1;
size_t count = 0;
for (size_t n = 0; n < batchSize; ++n) {
for (map<size_t, vector<size_t>>::const_iterator it = allIndices[n].begin();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
新手
引导
客服 返回
顶部