Skip to content

Commit

Permalink
remove omp which can cause ssd accuracy variance (apache#13622)
Browse files Browse the repository at this point in the history
  • Loading branch information
xinyu-intel authored and TaoLv committed Dec 17, 2018
1 parent 48e25c4 commit 655f1c6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/operator/contrib/multibox_detection.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 655f1c6

Please sign in to comment.