gradboard 2.1.0__py3-none-any.whl → 2.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of gradboard might be problematic. Click here for more details.
- gradboard/scheduler.py +6 -3
- {gradboard-2.1.0.dist-info → gradboard-2.2.0.dist-info}/METADATA +1 -1
- gradboard-2.2.0.dist-info/RECORD +8 -0
- gradboard-2.1.0.dist-info/RECORD +0 -8
- {gradboard-2.1.0.dist-info → gradboard-2.2.0.dist-info}/LICENSE +0 -0
- {gradboard-2.1.0.dist-info → gradboard-2.2.0.dist-info}/WHEEL +0 -0
gradboard/scheduler.py
CHANGED
|
@@ -168,10 +168,13 @@ class PASS:
|
|
|
168
168
|
else:
|
|
169
169
|
continue
|
|
170
170
|
difference = max_left_of_min[1] - minimum[1]
|
|
171
|
-
for r in range_test_results
|
|
172
|
-
|
|
171
|
+
points_left_of_min = [r for r in range_test_results if r[0] < minimum[0]]
|
|
172
|
+
self.max_lr = None
|
|
173
|
+
self.cool_point = None
|
|
174
|
+
for p in points_left_of_min:
|
|
175
|
+
if (self.cool_point is None) and (p[1] > minimum[1] + 0.66 * difference):
|
|
173
176
|
self.cool_point = r[0]
|
|
174
|
-
elif
|
|
177
|
+
elif (self.max_lr is None) and (p[1] > minimum[1] + 0.33 * difference):
|
|
175
178
|
self.max_lr = r[0]
|
|
176
179
|
else:
|
|
177
180
|
continue
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
gradboard/__init__.py,sha256=57AkHusYwLCsusiVnajH5pMFKioRCj-3IjF9qpdOzE0,69
|
|
2
|
+
gradboard/cycles.py,sha256=iGEW3Rlp-JNyQZLfpaDXxUCAcEV01ANjLF-Fnhug-qA,10120
|
|
3
|
+
gradboard/optimiser.py,sha256=h5nntenAhD8E9-Ayt17r7AK42S7O-XdhsrxedDd_4co,6201
|
|
4
|
+
gradboard/scheduler.py,sha256=kRcJGmxZ8lYghz-zgyySXXuQnQUpObhRQ_0wknmQlEs,6921
|
|
5
|
+
gradboard-2.2.0.dist-info/LICENSE,sha256=0BAzJE5BqQ7Iixp_AFdB2W1uO-HCRX-Qfun8PHt6yVM,1073
|
|
6
|
+
gradboard-2.2.0.dist-info/METADATA,sha256=jC6UQTUHCyyeE8SxbekSafXT_dAXM-0deE0p1rDjTb0,2173
|
|
7
|
+
gradboard-2.2.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
8
|
+
gradboard-2.2.0.dist-info/RECORD,,
|
gradboard-2.1.0.dist-info/RECORD
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
gradboard/__init__.py,sha256=57AkHusYwLCsusiVnajH5pMFKioRCj-3IjF9qpdOzE0,69
|
|
2
|
-
gradboard/cycles.py,sha256=iGEW3Rlp-JNyQZLfpaDXxUCAcEV01ANjLF-Fnhug-qA,10120
|
|
3
|
-
gradboard/optimiser.py,sha256=h5nntenAhD8E9-Ayt17r7AK42S7O-XdhsrxedDd_4co,6201
|
|
4
|
-
gradboard/scheduler.py,sha256=hwvemOp6I3hbf3PWE9aag3c2myQ2Q93V5Sg6K0qqT7s,6721
|
|
5
|
-
gradboard-2.1.0.dist-info/LICENSE,sha256=0BAzJE5BqQ7Iixp_AFdB2W1uO-HCRX-Qfun8PHt6yVM,1073
|
|
6
|
-
gradboard-2.1.0.dist-info/METADATA,sha256=aT2hPoM5Z9BzQyMjjAjmoZbuqP2njmoHAHK--XM__wA,2173
|
|
7
|
-
gradboard-2.1.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
8
|
-
gradboard-2.1.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|