You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by jx...@apache.org on 2017/10/25 04:17:29 UTC

[incubator-mxnet] branch master updated: fix using default mean pixels (#8352)

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

jxie 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 6c3aee4  fix using default mean pixels (#8352)
6c3aee4 is described below

commit 6c3aee4bee2a1eb8380dd73efb50999f5b8beac9
Author: Joshua Z. Zhang <ch...@gmail.com>
AuthorDate: Tue Oct 24 21:17:26 2017 -0700

    fix using default mean pixels (#8352)
---
 example/ssd/evaluate/evaluate_net.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/example/ssd/evaluate/evaluate_net.py b/example/ssd/evaluate/evaluate_net.py
index 7f1a32d..fabe54f 100644
--- a/example/ssd/evaluate/evaluate_net.py
+++ b/example/ssd/evaluate/evaluate_net.py
@@ -81,7 +81,7 @@ def evaluate_net(net, path_imgrec, num_classes, mean_pixels, data_shape,
     model_prefix += '_' + str(data_shape[1])
 
     # iterator
-    eval_iter = DetRecordIter(path_imgrec, batch_size, data_shape,
+    eval_iter = DetRecordIter(path_imgrec, batch_size, data_shape, mean_pixels=mean_pixels,
                               path_imglist=path_imglist, **cfg.valid)
     # model params
     load_net, args, auxs = mx.model.load_checkpoint(model_prefix, epoch)

-- 
To stop receiving notification emails like this one, please contact
['"commits@mxnet.apache.org" <co...@mxnet.apache.org>'].