gradboard 0.1.4__tar.gz → 0.1.6__tar.gz
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-0.1.4 → gradboard-0.1.6}/PKG-INFO +1 -1
- gradboard-0.1.6/gradboard/__init__.py +3 -0
- gradboard-0.1.4/gradboard/schedule.py → gradboard-0.1.6/gradboard/scheduler.py +4 -7
- {gradboard-0.1.4 → gradboard-0.1.6}/pyproject.toml +1 -1
- gradboard-0.1.4/gradboard/__init__.py +0 -3
- {gradboard-0.1.4 → gradboard-0.1.6}/LICENSE +0 -0
- {gradboard-0.1.4 → gradboard-0.1.6}/README.md +0 -0
- /gradboard-0.1.4/gradboard/cycle.py → /gradboard-0.1.6/gradboard/cycles.py +0 -0
- {gradboard-0.1.4 → gradboard-0.1.6}/gradboard/optimiser.py +0 -0
|
@@ -10,7 +10,7 @@ from scipy.ndimage import gaussian_filter1d
|
|
|
10
10
|
|
|
11
11
|
from torch.amp import GradScaler
|
|
12
12
|
|
|
13
|
-
from .
|
|
13
|
+
from .cycles import Cycle
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
class PASS:
|
|
@@ -28,12 +28,9 @@ class PASS:
|
|
|
28
28
|
max_lr: float = None,
|
|
29
29
|
cool_point: float = None,
|
|
30
30
|
):
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
!= range_test
|
|
35
|
-
is not None
|
|
36
|
-
)
|
|
31
|
+
if not range_test:
|
|
32
|
+
assert max_lr is not None
|
|
33
|
+
assert cool_point is not None
|
|
37
34
|
|
|
38
35
|
self.model = model
|
|
39
36
|
self.optimiser = optimiser
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|