Neural Style transfer train_step

Can someone give a hint about what is wrong in my code here?

Compute a_G as the vgg_model_outputs for the current generated image

{Codes removed by moderator as part it is part of graded assignment}

is the last code of the last week of the course 4, and I do not understand what I am doing wrong.

Avoid creating duplicate posts for same issue. Also if the code is part of any graded assignment then you are not suppose to share codes on public post thread. You can share the error you are encountering by taking a screenshot of the error.


Sorry, first time putting a post

M closing this thread as you already have created a thread for the same issue.