pytorch can't shuffle the dataset [closed]
问题 Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 days ago . Improve this question i am trying to make an ai with the mnist dataset from torchvision and makeing it with pytorch, but when i type some of the code that shuffle the data, and run it, it say: trainset = torch.utils.data.Dataloader(train, batch_size=10, shuffle=True) AttributeError: