cyclical_annealing icon indicating copy to clipboard operation
cyclical_annealing copied to clipboard

IndexError: index 1100 is out of bounds for axis 0 with size 1100

Open ssavale-entrata opened this issue 2 years ago • 0 comments

Getting below error IndexError: index 1100 is out of bounds for axis 0 with size 1100 at below line L[int(i + c * period)] = 1.0 / (1.0 + np.exp(- (v * 12. - 6.)))

it seems that we missed to add second condition at below line in function 'frange_cycle_linear' & 'frange_cycle_sigmoid' while v <= stop: should be while v <= stop and (int(i + c * period) < n_epoch):

ssavale-entrata avatar Mar 18 '22 05:03 ssavale-entrata