We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
210 train_epoch_runner = self.EpochRunner(train_step_runner,should_quiet) 211 train_metrics = {'epoch':epoch}
--> 212 train_metrics.update(train_epoch_runner(train_dataloader)) 213 214 for name, metric in train_metrics.items():
/opt/conda3/envs/py37_lgb3.2.1/lib/python3.7/site-packages/torchkeras/kerasmodel.py in call(self, dataloader) 74 75 for step, batch in loop: ---> 76 with self.accelerator.accumulate(self.net): 77 step_losses,step_metrics = self.steprunner(batch) 78 step_log = dict(step_losses,**step_metrics)
AttributeError: 'Accelerator' object has no attribute 'accumulate'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
--> 212 train_metrics.update(train_epoch_runner(train_dataloader))
213
214 for name, metric in train_metrics.items():
/opt/conda3/envs/py37_lgb3.2.1/lib/python3.7/site-packages/torchkeras/kerasmodel.py in call(self, dataloader)
74
75 for step, batch in loop:
---> 76 with self.accelerator.accumulate(self.net):
77 step_losses,step_metrics = self.steprunner(batch)
78 step_log = dict(step_losses,**step_metrics)
AttributeError: 'Accelerator' object has no attribute 'accumulate'
The text was updated successfully, but these errors were encountered: