Hello ptrblck…I am facing the same problem but I am getting some errors…
RuntimeError: Found 0 files in subfolders of: cifar-100//cifar-100-python//pylearn2_gcn_whitened//train//
Supported extensions are: .npy
so, if I change the code:
path='cifar-100/cifar-100-python/pylearn2_gcn_whitened/train/train.npy'
sample_train = torch.from_numpy(np.load(path))

    
print(len(sample_train)) #50000

path='cifar-100/cifar-100-python/pylearn2_gcn_whitened/test/test.npy'
sample_test = torch.from_numpy(np.load(path))

    
print(len(sample_test)) #10000


I can get them as tensors on each variables, but I dont know how to transform them to type dataset.
note: this datasets were transformed from the original cifar100 but using the library pylearn2