You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/11/12 21:40:54 UTC

[GitHub] eric-haibin-lin closed pull request #10803: [MXNET-397] remove unused rotateM_

eric-haibin-lin closed pull request #10803: [MXNET-397] remove unused rotateM_
URL: https://github.com/apache/incubator-mxnet/pull/10803
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/src/io/image_aug_default.cc b/src/io/image_aug_default.cc
index bea2e2c0749..01ccbb80948 100644
--- a/src/io/image_aug_default.cc
+++ b/src/io/image_aug_default.cc
@@ -209,7 +209,6 @@ class DefaultImageAugmenter : public ImageAugmenter {
  public:
   // contructor
   DefaultImageAugmenter() {
-    rotateM_ = cv::Mat(2, 3, CV_32F);
     seed_init_state = false;
   }
   void Init(const std::vector<std::pair<std::string, std::string> >& kwargs) override {
@@ -550,8 +549,6 @@ class DefaultImageAugmenter : public ImageAugmenter {
  private:
   // temporal space
   cv::Mat temp_;
-  // rotation param
-  cv::Mat rotateM_;
   // eigval and eigvec for adding pca noise
   // store eigval * eigvec as eigvec
   float eigvec[3][3] = { { 55.46f * -0.5675f, 4.794f * 0.7192f,  1.148f * 0.4009f },


 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services