AttributeError: 'Trainer' object has no attribute 'run_evaluation' #12097
Answered
by
rohitgr7
hassiahk
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
-
I am getting the below error when running Full traceback:
My
Any idea on how to fix this? My pytorch-lightning version is 1.5.10 |
Beta Was this translation helpful? Give feedback.
Answered by
rohitgr7
Feb 25, 2022
Replies: 2 comments 11 replies
-
@hassiahk What are you trying to evaluate there? Could I see what your callback looks like? |
Beta Was this translation helpful? Give feedback.
1 reply
-
hey ! this was removed in the previous release. You can try: trainer.validating = True
trainer.reset_val_dataloader()
trainer.val_loop.run()
trainer.training = True |
Beta Was this translation helpful? Give feedback.
10 replies
Answer selected by
hassiahk
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hey !
this was removed in the previous release.
You can try: