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)

Reply via email to