Closed mswiniar closed 3 years ago
change the funtion mnist_data to this:
def mnist_data():
compose = transforms.Compose([
transforms.ToTensor(), transforms.Normalize([0.5], [0.5])])
out_dir = '{}/dataset'.format(DATA_FOLDER)
return datasets.MNIST(root=out_dir, train=True, transform=compose, download=True)
Thanks for fixing this. I've updated the repo
Hi, I'm getting an error while running your Vanilla GAN PyTorch.ipynb notebook.
RuntimeError Traceback (most recent call last)