error raised after test_epoch_end() #9449
Unanswered
teang1995
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 1 comment
-
can you share a minimal example to reproduce this issue? |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,The error below was obtained when I run trainer.test().
I've got result from trainer.test_epoch_end() successfully, but after that error
AttributeError: 'int' object has no attribute 'cpu'
occured.Here is full log i got after runed trainer.test.
I run code at Colab, I found that error not obtained without using gpu.
I cannt figure out reason.
I'd really appreciate your help.
Beta Was this translation helpful? Give feedback.
All reactions