I’m working on CNN Course 4 Week 4 Assignment 2. I am getting this error on Exercise 6:
Unexpected cost for epoch 0: 19.99901580810547 != 25629.055
Firstly, How do I tell if the error is on the Style or the Content cost?
I’m working on CNN Course 4 Week 4 Assignment 2. I am getting this error on Exercise 6:
Unexpected cost for epoch 0: 19.99901580810547 != 25629.055
Firstly, How do I tell if the error is on the Style or the Content cost?
You should be posting under the correct specialization, course and week, I moved it for you this time.
You can not really tell exactly where the problem is. I would suggest checking all your function implementations one by one at this point!
RIght! If all your previous functions pass their tests, then the most likely theory is that the error is in your train_step
logic. Check that carefully against the instructions and the suggestions offered in the comments in the template code.
If that doesn’t help, let us know and then we’ll probably need to look at your code, but we can’t do that on a public thread.
Apologies for posting in the wrong place.
My issue is resolved. The error was indeed in the train step
code - I had the function arguments mixed up.
Thank you!
Nice work! It’s great to hear that you were able to locate the error just based on those suggestions.
Congratulations on finishing DLS C4!