C3W3 Assignment Exercise 04

Thank you. Subsequently, I am getting the below error.

For v1 and v2, I am using model.output(…). Is there something wrong if i calculate accuracy = y_pred / batch_size?

Thank you.