New error in Trainer started appearing recently in a previously running code. #12250
-
When I create a Trainer and run Trainer.fit() I am now getting the following error:
This is a new error and this code was just working earlier. Do yall know what could be causing this issue? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
hey @cwoolfo1 ! can you share the complete stack trace? |
Beta Was this translation helpful? Give feedback.
-
Do you have an attribute precision defined in your lightning module? If so, this is an improper override of the lightning module which is leading to this error: https://github.com/PyTorchLightning/pytorch-lightning/blob/49a4a36ad45b937dd0124ecfb08eb7400dbf3950/pytorch_lightning/core/lightning.py#L102-L103 |
Beta Was this translation helpful? Give feedback.
Do you have an attribute precision defined in your lightning module? If so, this is an improper override of the lightning module which is leading to this error: https://github.com/PyTorchLightning/pytorch-lightning/blob/49a4a36ad45b937dd0124ecfb08eb7400dbf3950/pytorch_lightning/core/lightning.py#L102-L103