Skip to content

Commit

Permalink
ckp: remove n_checkpoint = n_timestep dependencie from H-Revolve
Browse files Browse the repository at this point in the history
  • Loading branch information
speglich committed Apr 28, 2022
1 parent 28af91b commit 30fe3ed
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pyrevolve/schedulers/hrevolve.py
Original file line number Diff line number Diff line change
Expand Up @@ -630,12 +630,6 @@ class HRevolve(Scheduler):
def __init__(self, n_checkpoints, n_timesteps, architecture=None, uf=1, ub=1, up=1):
super().__init__(n_checkpoints, n_timesteps)

if n_checkpoints != n_timesteps:
raise ValueError(
"HRevolveError: the number of checkpoints \
must be equal to the number of timesteps"
)

self.hsequence = None
if architecture is None:
self.architecture = Architecture() # loads default arch
Expand Down

0 comments on commit 30fe3ed

Please sign in to comment.