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
Hi, I have . a doubt regarding the loss functions. How is the current value of the genearted image(by current, I mean the updated Variable) compared with the actual content/style image.
Hi, I have . a doubt regarding the loss functions. How is the current value of the genearted image(by current, I mean the updated Variable) compared with the actual content/style image.
def content_loss_func(sess, model):
return _content_loss(sess.run(model['conv4_2']), model['conv4_2'])
In this function, sess.run(model['conv4_2']) is basically sess.run(model['conv4_2'],feed_dict={input_image = content_image})
Shouldn't the second parameter be sess.run(model['conv4_2'],feed_dict={input_image = generated_image})
How does just running model['conv4_2'] pick up the latest value of the tensor ' conv4_2' with input as generated image
Same with the style loss function.
The text was updated successfully, but these errors were encountered: