This is an automated email from the ASF dual-hosted git repository.
haibin 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 6c82829 remove unused variable rotateM_ (#10803)
6c82829 is described below
commit 6c82829d655865bf64c4b17f05239f9b4db91e0f
Author: nihui <[email protected]>
AuthorDate: Tue Nov 13 05:40:52 2018 +0800
remove unused variable rotateM_ (#10803)
---
src/io/image_aug_default.cc | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/io/image_aug_default.cc b/src/io/image_aug_default.cc
index bea2e2c..01ccbb8 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 },