Week 2 Assignment 2 TypeError

I am getting an error when trying to set accuracy as the metric. Relevant code line and error message is given below.

“metrics” should contain a text string, not a keras function.
I believe the grader just wants you to use "metrics = [‘accuracy’].

1 Like