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
fixed_x, _ = next(data_iter) torchvision.utils.save_image(fixed_x.data.cpu(), './data/real_images.png')
The code in VAE: line 68: fixed_x.data.cpu() change to fixed_x (the fixed_x is FloatTensor type. Not a Variable)
The text was updated successfully, but these errors were encountered:
fixed_x, _ = next(data_iter) torchvision.utils.save_image(fixed_x.data.cpu(), './data/real_images.png')
The code in VAE: line 68:
fixed_x.data.cpu()
change tofixed_x
(the fixed_x is FloatTensor type. Not a Variable)The text was updated successfully, but these errors were encountered: