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/08/01 17:08:47 UTC

[incubator-mxnet] branch master updated: change random sized crop lower bound to 0.08 (#7278)

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 583fd9e  change random sized crop lower bound to 0.08 (#7278)
583fd9e is described below

commit 583fd9ed9c5886704fdeb94cf354da5268b6bf4f
Author: Joshua Z. Zhang <ch...@gmail.com>
AuthorDate: Tue Aug 1 10:08:41 2017 -0700

    change random sized crop lower bound to 0.08 (#7278)
---
 python/mxnet/image/image.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/mxnet/image/image.py b/python/mxnet/image/image.py
index 76cbea8..cf17ecf 100644
--- a/python/mxnet/image/image.py
+++ b/python/mxnet/image/image.py
@@ -869,7 +869,7 @@ def CreateAugmenter(data_shape, resize=0, rand_crop=False, rand_resize=False, ra
     crop_size = (data_shape[2], data_shape[1])
     if rand_resize:
         assert rand_crop
-        auglist.append(RandomSizedCropAug(crop_size, 0.3, (3.0 / 4.0, 4.0 / 3.0), inter_method))
+        auglist.append(RandomSizedCropAug(crop_size, 0.08, (3.0 / 4.0, 4.0 / 3.0), inter_method))
     elif rand_crop:
         auglist.append(RandomCropAug(crop_size, inter_method))
     else:

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