Data loader query #2994
Unanswered
shrimonmuke0202
asked this question in
Q&A
Replies: 1 comment 4 replies
-
|
Beta Was this translation helpful? Give feedback.
4 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.
-
If apply batch_size = 512 I get adj matrix with shape (512,46,46) but when I apply batch_size = 128 I obtain some adj matrix with shape (128,44,44) but I want all adj matrix with shape (128,46,46). How can I get this type of result?
for ,data in enumerate(train_loader):
x , edge_index, batch = data.x,data.edge_index,data.batch
x, = torch_geometric.utils.to_dense_batch(x,batch)
adj = to_dense_adj(edge_index,batch)
print(batch)
print(adj.shape)
print(data.c_size)
Beta Was this translation helpful? Give feedback.
All reactions