singa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sudharshann D (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SINGA-322) Random crop the image and then resize to input tuple size
Date Mon, 05 Jun 2017 10:15:11 GMT
Sudharshann D created SINGA-322:
-----------------------------------

             Summary: Random crop the image and then resize to input tuple size
                 Key: SINGA-322
                 URL: https://issues.apache.org/jira/browse/SINGA-322
             Project: Singa
          Issue Type: New Feature
            Reporter: Sudharshann D
            Priority: Minor


A crop of the input image at a random size between 0.08 to 1 of input image size and random
aspect ratio between 3/4 to 4/3 of input image aspect ratio is made. This crop is then resized
to the given patch size.

Args:
patch(tuple): width and height of the patch
inplace(Boolean): replace the internal images list with the patches
                              if True; otherwise, return the patches.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message