gradboard 1.0.1__py3-none-any.whl → 2.0.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 +2 -14
- {gradboard-1.0.1.dist-info → gradboard-2.0.0.dist-info}/METADATA +1 -1
- gradboard-2.0.0.dist-info/RECORD +8 -0
- gradboard-1.0.1.dist-info/RECORD +0 -8
- {gradboard-1.0.1.dist-info → gradboard-2.0.0.dist-info}/LICENSE +0 -0
- {gradboard-1.0.1.dist-info → gradboard-2.0.0.dist-info}/WHEEL +0 -0
gradboard/scheduler.py
CHANGED
|
@@ -159,20 +159,8 @@ class PASS:
|
|
|
159
159
|
"""
|
|
160
160
|
range_test_results = self._smoothed_range_test(self.range_test_results)
|
|
161
161
|
minimum = min(range_test_results, key=lambda x: x[1])
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
highest_point_left_of_min = max(points_left_of_min, key=lambda x: x[1])
|
|
165
|
-
loss_difference = highest_point_left_of_min[1] - minimum[1]
|
|
166
|
-
cool_point_loss = min_loss + 0.8 * loss_difference
|
|
167
|
-
max_lr_loss = min_loss + 0.2 * loss_difference
|
|
168
|
-
for r in range_test_results:
|
|
169
|
-
if r[1] < cool_point_loss:
|
|
170
|
-
self.cool_point = r[0]
|
|
171
|
-
break
|
|
172
|
-
for r in range_test_results:
|
|
173
|
-
if r[1] <= max_lr_loss:
|
|
174
|
-
self.max_lr = r[0]
|
|
175
|
-
break
|
|
162
|
+
self.max_lr = minimum[0] / 2
|
|
163
|
+
self.cool_point = self.max_lr * 0.1
|
|
176
164
|
print("High LR", self.max_lr)
|
|
177
165
|
print("Cool point", self.cool_point)
|
|
178
166
|
|
|
@@ -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=GnmUjqXmgN9j-aid1OVlZIUeanTN-4QAZSoB3BCU5eI,6172
|
|
5
|
+
gradboard-2.0.0.dist-info/LICENSE,sha256=0BAzJE5BqQ7Iixp_AFdB2W1uO-HCRX-Qfun8PHt6yVM,1073
|
|
6
|
+
gradboard-2.0.0.dist-info/METADATA,sha256=mbx1IIDUNqDRuKD66HPWOtsar-OWSi6ojUOysIPnqUs,2173
|
|
7
|
+
gradboard-2.0.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
8
|
+
gradboard-2.0.0.dist-info/RECORD,,
|
gradboard-1.0.1.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=R0lnCYJc3oKh3WR_5A29EfF3hkERqHEyplhYgON_k8M,6732
|
|
5
|
-
gradboard-1.0.1.dist-info/LICENSE,sha256=0BAzJE5BqQ7Iixp_AFdB2W1uO-HCRX-Qfun8PHt6yVM,1073
|
|
6
|
-
gradboard-1.0.1.dist-info/METADATA,sha256=Ibp1xqcPfNPvNIbEakI49ttqKKaaHolepaFKipnH6VE,2173
|
|
7
|
-
gradboard-1.0.1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
8
|
-
gradboard-1.0.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|