You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, when i try to run the torchvision.utils.save_image() function inside the save_and_sample() function i get the error in the title. Can i get some help? This error is present in the Cifar10 train script.
The text was updated successfully, but these errors were encountered:
The problem arises because grid variable is not a normal torch.Tensor, but rather a tweaked Distribution variable. To fix the issue, I had to tweak lines:
Hello, when i try to run the torchvision.utils.save_image() function inside the save_and_sample() function i get the error in the title. Can i get some help? This error is present in the Cifar10 train script.
The text was updated successfully, but these errors were encountered: