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
It seems that when the input tensor to torch.utils.save_image is defined as the sum of two tensors (final_tensor = tensor_1 + tensor_2), save_image modifies the input tensor. This means that when you call save_image again on final_tensor, the image that's printed only corresponds to tensor_1.