From abe876183052e9da9c3d633e41386c5c1f4fc1e6 Mon Sep 17 00:00:00 2001
From: natanielruiz <nataniel777@hotmail.com>
Date: 星期五, 08 九月 2017 05:51:42 +0800
Subject: [PATCH] Before adding refinement layer

---
 code/datasets.py |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/code/datasets.py b/code/datasets.py
index 9a4aeb5..f73c0a1 100644
--- a/code/datasets.py
+++ b/code/datasets.py
@@ -63,11 +63,11 @@
         rnd = np.random.random_sample()
         if rnd < 0.5:
             if roll >= 0:
-                img = img.rotate(60)
-                roll -= 60
+                img = img.rotate(30)
+                roll -= 30
             else:
-                img = img.rotate(-60)
-                roll += 60
+                img = img.rotate(-30)
+                roll += 30
 
         # Bin values
         bins = np.array(range(-99, 102, 3))

--
Gitblit v1.8.0