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 Mark, I have read the paper, and watched your video, I think I got the very basic idea of the style transfer. However, there is one line I don't understand (maybe I am really not familiar with tensrorflow)
In the following
cost_content = sum(map(lambda l,: l[1]*build_content_loss(sess.run(net[l[0]]) , net[l[0]])
, CONTENT_LAYERS))
why using sess.run(net[l[0]]) vs. net[l[0] as cost computation ? what is the difference for net[0] in "sess.run' vs net[0] ?
The text was updated successfully, but these errors were encountered:
Hi Mark, I have read the paper, and watched your video, I think I got the very basic idea of the style transfer. However, there is one line I don't understand (maybe I am really not familiar with tensrorflow)
In the following
cost_content = sum(map(lambda l,: l[1]*build_content_loss(sess.run(net[l[0]]) , net[l[0]])
, CONTENT_LAYERS))
why using sess.run(net[l[0]]) vs. net[l[0] as cost computation ? what is the difference for net[0] in "sess.run' vs net[0] ?
The text was updated successfully, but these errors were encountered: