TypeError: linear(): argument 'input' (position 1) must be Tensor, not NoneType #8103
Replies: 3 comments 3 replies
-
also, im trying different nn, are there any nn's that accept floats, |
Beta Was this translation helpful? Give feedback.
-
Do you have a minimal example to reproduce? Can I just change this model in the |
Beta Was this translation helpful? Give feedback.
-
@rusty1s So for my model, its pretty much the same except that the
The overall dataset is:
Everything is
Setting it up the same way as in the example gives me:
So then I cast |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Using the qm9 model:
I checked the type for out, its
torch.float64
but for some reason I'm still gettingTypeError: linear(): argument 'input' (position 1) must be Tensor, not NoneType
where everything that I'm inputting has an assigned tensor.Full out put is
I know it has something to do with the
Sequential
nn .Beta Was this translation helpful? Give feedback.
All reactions