-
When debugging a model created with PyG, if I use y=model(current_time) directly the breakpoints show HeteroData.node_offsets as {'0': 0, '1': 4, '2': 6}, which is what I expect to get as output. But when I record the neural network structure using SummaryWriter in torch.utils.tensorboard, using w.add_graph(model, current_time), at the same breakpoint it shows HeteroData.node_offsets as {'0': 0, '1' : tensor(10), '2': tensor(10)}. May I ask why this is? |
Beta Was this translation helpful? Give feedback.
Answered by
rusty1s
Nov 23, 2023
Replies: 1 comment 2 replies
-
Do you have a small example for me to reproduce? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks. Fixed in #8430.