when you specify steps_per_epoch=len(train_dataloader), I think it implicitly calculates the total number of steps you will require to perform the training using epoch total_steps = steps_per_epoch*epochs
Now if you retrain it again for some more epoch without reinstalling it will show this error.
SOLUTION:
Reinitialize the epoch parameter in the schedular:
scheduler = OneCycleLR(optimizer, max_lr=0.01, steps_per_epoch=391, epochs=epochs)   # steps_per_epoch = len(train_loader)