AttributeError: 'Mean' object has no attribute 'reset_states'

I could not run week 2 of course 4 on my local machine even if I passed the test on course. I am getting AttributeError: ‘Mean’ object has no attribute ‘reset_states’

There are a bunch of other Files associated with the Labs, and also versioning has to do with it sometimes. Check on File-> Open if you can get around those helper files.

I have downloaded all the files and tried it but it is throwining errors again and again with the same version of tf too !

it worked thank you

1 Like

Great.