From 36800c290ffd919f694b92ce22d50f110ad9cad0 Mon Sep 17 00:00:00 2001 From: Zhennan Qin Date: Fri, 21 Jun 2019 10:37:58 +0800 Subject: [PATCH 1/4] point fix the vector declaration in MultiBoxDetection --- src/operator/contrib/multibox_detection.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/operator/contrib/multibox_detection.cc b/src/operator/contrib/multibox_detection.cc index 65fe5f1208bb..37bb5a500d71 100644 --- a/src/operator/contrib/multibox_detection.cc +++ b/src/operator/contrib/multibox_detection.cc @@ -98,8 +98,7 @@ inline void MultiBoxDetectionForward(const Tensor &out, const DType *p_anchor = anchors.dptr_; const int omp_threads = mxnet::engine::OpenMP::Get()->GetRecommendedOMPThreadCount(); - std::vector outputs; - outputs.reserve(num_anchors * 6); + std::vector outputs(num_anchors * 6); for (int nbatch = 0; nbatch < num_batches; ++nbatch) { const DType *p_cls_prob = cls_prob.dptr_ + nbatch * num_classes * num_anchors; const DType *p_loc_pred = loc_pred.dptr_ + nbatch * num_anchors * 4; From 4fb8a815876b6ff94ee6f79a3a6dfa60acc8e282 Mon Sep 17 00:00:00 2001 From: Zhennan Qin Date: Thu, 27 Jun 2019 09:58:49 +0800 Subject: [PATCH 2/4] Rerun ci From b9b238f925571b76da92928d36a02cedae993628 Mon Sep 17 00:00:00 2001 From: Zhennan Qin Date: Thu, 27 Jun 2019 12:30:28 +0800 Subject: [PATCH 3/4] run ci From c0adde0fd5059f82328dc08a7d9adaebe7e00644 Mon Sep 17 00:00:00 2001 From: Zhennan Qin Date: Fri, 28 Jun 2019 08:10:50 +0800 Subject: [PATCH 4/4] CI