TensorBoardLogger() gives "AttributeError: can't set attribute" error #16322
Unanswered
nkay28
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 2 comments
-
Hi @nkay28, I am experiencing the exact same problem when attempting to set the TensorBoardLogger as a class attribute. Did you find a solution? |
Beta Was this translation helpful? Give feedback.
0 replies
-
the same error |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm trying to build a class with pl.LightningModule as super for training storm images using resnet (following an example on GitHub).
I keep getting this 'AttributeError: can't set attribute' in the TensorBoard logs line. The next lines are for datapull from another class and I don't suspect the error to be there, but not sure at this point.
` ```
class PretrainedWindModel(pl.LightningModule):
def init(self, hparams):
super(PretrainedWindModel, self).init()
``` `
Error:
Beta Was this translation helpful? Give feedback.
All reactions