cannot import name 'KMNIST' from 'torchvision.datasets.mnist' (D:\anaconda\lib\site-packages\torchvision\datasets\mnist.py)
时间: 2023-09-25 12:17:02 浏览: 90
awesome-public-datasets:以主题为中心的总部开放数据集列表
This error occurs when trying to import the KMNIST dataset from the torchvision.datasets.mnist module, but it is not available in the current version of PyTorch or torchvision.
To resolve this issue, you can try updating PyTorch and torchvision to the latest version or use an alternative dataset.
阅读全文