You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by ta...@apache.org on 2018/12/17 06:37:02 UTC

[incubator-mxnet] branch master updated: remove omp which can cause ssd accuracy variance (#13622)

This is an automated email from the ASF dual-hosted git repository.

taolv pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/master by this push:
     new 655f1c6  remove omp which can cause ssd accuracy variance (#13622)
655f1c6 is described below

commit 655f1c6f7a0706dd622f73db9af2e6df895ca213
Author: Xinyu Chen <xi...@intel.com>
AuthorDate: Mon Dec 17 14:36:45 2018 +0800

    remove omp which can cause ssd accuracy variance (#13622)
---
 src/operator/contrib/multibox_detection.cc | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/operator/contrib/multibox_detection.cc b/src/operator/contrib/multibox_detection.cc
index c005dfa..b4f66d8 100644
--- a/src/operator/contrib/multibox_detection.cc
+++ b/src/operator/contrib/multibox_detection.cc
@@ -174,7 +174,6 @@ inline void MultiBoxDetectionForward(const Tensor<cpu, 3, DType> &out,
     }
 
     // apply nms
-#pragma omp parallel for num_threads(omp_threads)
     for (int i = 0; i < nkeep; ++i) {
       int offset_i = i * 6;
       if (p_out[offset_i] < 0) continue;  // skip eliminated