gradboard 1.0.2__tar.gz → 2.0.0__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: gradboard
3
- Version: 1.0.2
3
+ Version: 2.0.0
4
4
  Summary: Easily snowboard down gnarly loss gradients
5
5
  License: MIT
6
6
  Author: Nicholas Bailey
@@ -159,10 +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
- for r in range_test_results:
163
- if (r[0] < minimum[0]) and (r[1] > minimum[1]):
164
- self.max_lr = r[0] / 2
165
- self.cool_point = self.max_lr * 0.1
162
+ self.max_lr = minimum[0] / 2
163
+ self.cool_point = self.max_lr * 0.1
166
164
  print("High LR", self.max_lr)
167
165
  print("Cool point", self.cool_point)
168
166
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "gradboard"
3
- version = "1.0.2"
3
+ version = "2.0.0"
4
4
  description = "Easily snowboard down gnarly loss gradients"
5
5
  authors = [
6
6
  {name = "Nicholas Bailey"}
File without changes
File without changes
File without changes