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] ?
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] ?