gradboard 3.0.1__py3-none-any.whl → 4.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 +1 -4
- {gradboard-3.0.1.dist-info → gradboard-4.0.0.dist-info}/METADATA +5 -4
- gradboard-4.0.0.dist-info/RECORD +8 -0
- gradboard-3.0.1.dist-info/RECORD +0 -8
- {gradboard-3.0.1.dist-info → gradboard-4.0.0.dist-info}/LICENSE +0 -0
- {gradboard-3.0.1.dist-info → gradboard-4.0.0.dist-info}/WHEEL +0 -0
gradboard/scheduler.py
CHANGED
|
@@ -6,8 +6,6 @@ from typing import Optional
|
|
|
6
6
|
import copy
|
|
7
7
|
import math
|
|
8
8
|
|
|
9
|
-
from scipy.ndimage import gaussian_filter1d
|
|
10
|
-
|
|
11
9
|
from torch.amp import GradScaler
|
|
12
10
|
|
|
13
11
|
from .cycles import Cycle
|
|
@@ -137,8 +135,7 @@ class PASS:
|
|
|
137
135
|
learning_rates = [t[0] for t in range_test_results]
|
|
138
136
|
losses = [t[1] for t in self.range_test_results]
|
|
139
137
|
losses = losses[:-1] + [10 * max(losses)]
|
|
140
|
-
|
|
141
|
-
return list(zip(learning_rates, smoothed_losses, strict=True))
|
|
138
|
+
return list(zip(learning_rates, losses, strict=True))
|
|
142
139
|
|
|
143
140
|
def _plot_range_test(self, range_test_results):
|
|
144
141
|
"""
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: gradboard
|
|
3
|
-
Version:
|
|
3
|
+
Version: 4.0.0
|
|
4
4
|
Summary: Easily snowboard down gnarly loss gradients
|
|
5
5
|
License: MIT
|
|
6
6
|
Author: Nicholas Bailey
|
|
7
|
-
Requires-Python: >=3.
|
|
7
|
+
Requires-Python: >=3.8
|
|
8
8
|
Classifier: License :: OSI Approved :: MIT License
|
|
9
9
|
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
10
13
|
Classifier: Programming Language :: Python :: 3.11
|
|
11
14
|
Classifier: Programming Language :: Python :: 3.12
|
|
12
15
|
Classifier: Programming Language :: Python :: 3.13
|
|
13
|
-
Requires-Dist: numpy (>=2.0.2,<3.0.0)
|
|
14
|
-
Requires-Dist: scipy (>=1.15.3,<2.0.0)
|
|
15
16
|
Description-Content-Type: text/markdown
|
|
16
17
|
|
|
17
18
|
# gradboard
|
|
@@ -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=Br7MNiziiwQZhq6UWkBy1zndRuDFznNfrE91usguZHI,6168
|
|
4
|
+
gradboard/scheduler.py,sha256=VbtqSBtSpgLI7qbtz0uGgNmb1NtR77r_Ole9wmdVMPw,6859
|
|
5
|
+
gradboard-4.0.0.dist-info/LICENSE,sha256=0BAzJE5BqQ7Iixp_AFdB2W1uO-HCRX-Qfun8PHt6yVM,1073
|
|
6
|
+
gradboard-4.0.0.dist-info/METADATA,sha256=tDj9jiFskMQygTAZTpTF_OL1ntLLKHiac7_3mbsXhfw,2246
|
|
7
|
+
gradboard-4.0.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
8
|
+
gradboard-4.0.0.dist-info/RECORD,,
|
gradboard-3.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=Br7MNiziiwQZhq6UWkBy1zndRuDFznNfrE91usguZHI,6168
|
|
4
|
-
gradboard/scheduler.py,sha256=QpgB-jk16Srghu3J8aLKlIuOEG4Y3Ho6pXiAyD7VUQw,6968
|
|
5
|
-
gradboard-3.0.1.dist-info/LICENSE,sha256=0BAzJE5BqQ7Iixp_AFdB2W1uO-HCRX-Qfun8PHt6yVM,1073
|
|
6
|
-
gradboard-3.0.1.dist-info/METADATA,sha256=AIkMJI_o3iJXLUnpHbl8FqtvT9DNatLnFBdWxzeuPjY,2173
|
|
7
|
-
gradboard-3.0.1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
8
|
-
gradboard-3.0.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|