gradboard 0.1.9__py3-none-any.whl → 0.1.10__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/cycles.py CHANGED
@@ -282,7 +282,9 @@ class CycleSequence:
282
282
  """
283
283
  cycle_ratios = [c.total_steps for c in self.cycles]
284
284
  cycle_stats = {k: v * cycle_ratios[0] for k, v in self.cycles[0].stats.items()}
285
- for i, cycle in enumerate(self.cycles[1:]):
285
+ for i, cycle in enumerate(self.cycles):
286
+ if i == 0:
287
+ continue # We already did the first one, above
286
288
  for k, v in cycle.stats.items():
287
289
  cycle_stats[k] += cycle_ratios[i] * v
288
290
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: gradboard
3
- Version: 0.1.9
3
+ Version: 0.1.10
4
4
  Summary: Easily snowboard down gnarly loss gradients
5
5
  License: MIT
6
6
  Author: Nicholas Bailey
@@ -0,0 +1,8 @@
1
+ gradboard/__init__.py,sha256=57AkHusYwLCsusiVnajH5pMFKioRCj-3IjF9qpdOzE0,69
2
+ gradboard/cycles.py,sha256=dy3qr4kUPPmB0g3L-E1CMYZSuw6son6fIvyu9uUJglQ,9682
3
+ gradboard/optimiser.py,sha256=Iw1piQkQkWdNUW8d9f3iPrvP9qEGVxEKmerK7ATDgOI,6189
4
+ gradboard/scheduler.py,sha256=W146MgdTYz113R3M0qhVpk8kr6L1ioPS3pCFc3MhKYg,6507
5
+ gradboard-0.1.10.dist-info/LICENSE,sha256=0BAzJE5BqQ7Iixp_AFdB2W1uO-HCRX-Qfun8PHt6yVM,1073
6
+ gradboard-0.1.10.dist-info/METADATA,sha256=4ygT3hkBfJWE0jP27o0CxcCwW86x69V2n3kKYMzkupU,2174
7
+ gradboard-0.1.10.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
8
+ gradboard-0.1.10.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- gradboard/__init__.py,sha256=57AkHusYwLCsusiVnajH5pMFKioRCj-3IjF9qpdOzE0,69
2
- gradboard/cycles.py,sha256=88xEt7dyL3jyPHjD7TywDS3bg9tfv4sp6ocO6vPME04,9599
3
- gradboard/optimiser.py,sha256=Iw1piQkQkWdNUW8d9f3iPrvP9qEGVxEKmerK7ATDgOI,6189
4
- gradboard/scheduler.py,sha256=W146MgdTYz113R3M0qhVpk8kr6L1ioPS3pCFc3MhKYg,6507
5
- gradboard-0.1.9.dist-info/LICENSE,sha256=0BAzJE5BqQ7Iixp_AFdB2W1uO-HCRX-Qfun8PHt6yVM,1073
6
- gradboard-0.1.9.dist-info/METADATA,sha256=b9v9iVcoAu6VE5AGvXVp9AynLDHPHIdrxdkD309jzmQ,2173
7
- gradboard-0.1.9.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
8
- gradboard-0.1.9.dist-info/RECORD,,