[ 
https://issues.apache.org/jira/browse/MXNET-30?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16389096#comment-16389096
 ] 

ASF GitHub Bot commented on MXNET-30:
-------------------------------------

piiswrong commented on a change in pull request #9960: [MXNET-30] Add label 
augmentation support in image recordio2
URL: https://github.com/apache/incubator-mxnet/pull/9960#discussion_r172749317
 
 

 ##########
 File path: src/io/image_iter_common.h
 ##########
 @@ -85,6 +85,14 @@ class ImageLabelMap {
     CHECK(it != idx2label_.end()) << "fail to find imagelabel for id " << imid;
     return mshadow::Tensor<cpu, 1>(it->second, mshadow::Shape1(label_width));
   }
+  /*! \brief find a label for corresponding index, return vector as copy */
+  inline std::vector<float> FindCopy(size_t imid) const {
 
 Review comment:
   FindLabel

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Add label augmentation support in image recordio2
> -------------------------------------------------
>
>                 Key: MXNET-30
>                 URL: https://issues.apache.org/jira/browse/MXNET-30
>             Project: Apache MXNet
>          Issue Type: Improvement
>          Components: MXNet Engine
>            Reporter: Ni Hui
>            Assignee: Chris Olivier
>            Priority: Major
>              Labels: io
>
> pass the label data to the augmenter implementation so that the label could 
> be changed when image transformation applied during augmentation.
>  It is useful for regression task such as landmark localization.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@mxnet.apache.org
For additional commands, e-mail: issues-h...@mxnet.apache.org

Reply via email to