Week 4 Neural Style Transfer: train_step "Unexpected cost for epoch 0: 2555.3056640625 != 10221.168"

This is in course 4, week 4, for the DL Specialization assignment. There is no error for previous implementations.

AssertionError: Unexpected cost for epoch 0: 2555.3056640625 != 10221.168

It appears that your code is computing the wrong value.

Can I dm you the code to look over? I can’t find any problems.

Check that you are passing the arguments to total_cost() in the correct order.