Dataloader explanation #5594
Answered
by
marcomameli1992
marcomameli1992
asked this question in
Q&A
-
I try to use the torch_geometric dataset with dataloader. The code that I have written is:
but when I try to execute it I receive the error:
|
Beta Was this translation helpful? Give feedback.
Answered by
marcomameli1992
Oct 2, 2022
Replies: 2 comments
-
the problem was in the len function. Solution: delete the ' / 23 ' |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
rusty1s
-
Python '/23' will produce float , may need '// 23' |
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
the problem was in the len function. Solution: delete the ' / 23 '