由于kaggle对imagenet的数据集做了整理,直接利用torch.dataset.ImageNet无法加载数据集,
https://github.com/pytorch/examples/tree/main/imagenet
提供了解决办法