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
The img1 is the target image, the img2 is the noise image. The goal of this code is using Adam optimizer to change noise image(img2) from the noise image to one similar to target image(img1). So the img2 should be grad each step, but the img1 is not necessary.
whty do we need set the requires_grad = True in the
img2 = Variable( img2, requires_grad = True)
,while the value in the img1 is FalseThe text was updated successfully, but these errors were encountered: