Inconsistent behavior for dataset.num_classes
and dataset.num_features
#5273
EdisonLeeeee
started this conversation in
General
Replies: 1 comment 1 reply
-
Thanks for reporting. I just fixed that here: #5274 |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Hi, I am using PyG datasets with my custom transform function, but I found there is an inconsistent behavior between
dataset.num_classes
anddataset.num_features
. The minimal code to reproduce my scenario is as follows:That is,
dataset.num_features
returns the results from the transformed dataset whiledataset.num_classes
does not. I am not sure if this is intended behavior or a potential bug.Beta Was this translation helpful? Give feedback.
All reactions