CIFAR-10数据加载及预处理中遇到的问题

CIFAR-10数据加载及预处理中遇到的问题

在第一次运行代码时没有问题,想要调试时在jupyter中打开了第二个窗口,运行了一样的代码后出现问题


PermissionError                           Traceback (most recent call last)
 in 
     13                     train=True,
     14                     download=True,
---> 15                     transform=transform)
     16 
     17 trainloader = t.utils.data.DataLoader(

~/.local/lib/python3.5/site-packages/torchvision/datasets/cifar.py in __init__(self, root, train, transform, target_transform, download)
     64 
     65         if download:
---> 66             self.download()
     67 
     68         if not self._check_integrity():

~/.local/lib/python3.5/site-packages/torchvision/datasets/cifar.py in download(self)
    151             return
    152 
--> 153         download_url(self.url, self.root, self.filename, self.tgz_md5)
    154 
    155         # extract file

~/.local/lib/python3.5/site-packages/torchv

你可能感兴趣的:(pytorch,pytorch)