Hey everyone,
I’ve been trying to run the train_step function and it is giving me this error name J_style_layer is not defined. compute_style_cost is working perfectly.
Can anyone help?
NameError: in user code:
<ipython-input-28-e6075e5f7bb1>:19 train_step *
J_style = compute_style_cost(a_S, a_G)
<ipython-input-31-1355fdd29629>:28 compute_style_cost *
J_style_lay = compute_layer_style_cost(a_S[i], a_G[i])
<ipython-input-9-067d39b3057d>:30 compute_layer_style_cost *
return J_style_layer
NameError: name 'J_style_layer' is not defined
Thank you
