For the last step of training, I get this error for the cost calculations. however , my style cost and content calculations seem correct and all tests above pass. Could a mentor please help? Thank you
-Asit
tf.Tensor(2555.306, shape=(), dtype=float32)
AssertionError Traceback (most recent call last)
in
5 print(J1)
6 assert type(J1) == EagerTensor, f"Wrong type {type(J1)} != {EagerTensor}"
----> 7 assert np.isclose(J1, 10221.168), f"Unexpected cost for epoch 0: {J1} != {10221.168}"
8
9 J2 = train_step(generated_image)
AssertionError: Unexpected cost for epoch 0: 2555.305908203125 != 10221.168