Skip to content

Commit 30fe3ed

Browse files
committed
ckp: remove n_checkpoint = n_timestep dependencie from H-Revolve
1 parent 28af91b commit 30fe3ed

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

pyrevolve/schedulers/hrevolve.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -630,12 +630,6 @@ class HRevolve(Scheduler):
630630
def __init__(self, n_checkpoints, n_timesteps, architecture=None, uf=1, ub=1, up=1):
631631
super().__init__(n_checkpoints, n_timesteps)
632632

633-
if n_checkpoints != n_timesteps:
634-
raise ValueError(
635-
"HRevolveError: the number of checkpoints \
636-
must be equal to the number of timesteps"
637-
)
638-
639633
self.hsequence = None
640634
if architecture is None:
641635
self.architecture = Architecture() # loads default arch

0 commit comments

Comments
 (0)