You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please standardize at least the naming convention for all datasets when using DataLoader so that data are in loader.dataset.data and labels in loader.dataset.targets.
MWE:
loader_cifar = torch.utils.DataLoader("CIFAR10")
loader_cifar.dataset.data <-- contains the data
loader_cifar.dataset.targets <-- contains targets
loader_svhn = torch.utils.DataLoader("SVHN")
loader_svhn.dataset.data <-- contains the data
loader_svhn.dataset.labels <-- contains targets
This can be really confusing and error prone when developing code to run on multiple datasets.
Please standardize at least the naming convention for all datasets when using DataLoader so that data are in
loader.dataset.data
and labels inloader.dataset.targets
.MWE:
This can be really confusing and error prone when developing code to run on multiple datasets.
cc @pmeier
The text was updated successfully, but these errors were encountered: