You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3 frames
/usr/local/lib/python3.7/dist-packages/pytorch_lightning/trainer/configuration_validator.py in __verify_train_loop_configuration(self, model)
81 if (has_overriden_optimization_functions) and going_to_accumulate_grad_batches and automatic_optimization:
82 raise MisconfigurationException(
-> 83 'When overriding LightningModule optimizer_step or optimizer_zero_grad,'
84 ' accumulate_grad_batches in Trainer should be 1.'
85 ' It ensures optimizer_step or optimizer_zero_grad are called on every batch.'
MisconfigurationException: When overriding LightningModule optimizer_step or optimizer_zero_grad, accumulate_grad_batches in Trainer should be 1. It ensures optimizer_step or optimizer_zero_grad are called on every batch.
Anyone could help, please?
The text was updated successfully, but these errors were encountered:
Hi,
When I run '' in Tune_T5_WikiHow-Github.ipynb, an exception is thrown but I cannot find a related solution online,
Anyone could help, please?
The text was updated successfully, but these errors were encountered: