AttributeError: 'Batch' object has no attribute 'xxx' #3965
-
Hi, I am using ChebConv layer in my network. However, my data loader has another component which is a pre-computed Laplacian and its lambda_max. So when I create my data_loader object I have Batch(LBO_index=[2, 15139999], LBO_weight=[15139999], batch=[1226551], edge_index=[2, 13913448], lmax=[8], pos=[1226551, 3], ptr=[9], x=[1226551, 3], y=[8]) But, when I pass it to my network I get the error: AttributeError: 'Batch' object has no attribute 'LBO_index' I cannot understand why this happens. Any thoughts would be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Do you have a small example to reproduce (at best as minimal as possible)? |
Beta Was this translation helpful? Give feedback.
Do you have a small example to reproduce (at best as minimal as possible)?