Error: Cannot resolve schedulerDictConfig when run trainer.fit(Punctuation_and_Capitalization_model)
Hello, I'm training Punctuation_and_Capitalization on a french dataset. The first time everithing was fine, but when I tried to change epochs from 3 to 5, and execute again the : trainer.fit(model), I got this error:

ValueError: Cannot resolve schedulerDictConfig'. Available optimizers are : dict_keys(['WarmupPolicy', 'WarmupHoldPolicy', 'SquareAnnealing', 'CosineAnnealing', 'NoamAnnealing', 'WarmupAnnealing', 'InverseSquareRootAnnealing', 'SquareRootAnnealing', 'PolynomialDecayAnnealing', 'PolynomialHoldDecayAnnealing', 'StepLR', 'ExponentialLR', 'ReduceLROnPlateau', 'CyclicLR'])

It still giving this error even I changed the epochs and re installed the packages. 
Would you mind helping me solve this bug, please?