C3W4 Ungraded Lab 3 Fairness AttributeError

Hi everyone, I’ve encountered such error on C3W4 Lab 3 notebook, has anyone seen this one before? I’ve restarted my runtime after installing all the dependencies…

AttributeError: module 'tensorflow_model_analysis' has no attribute 'default_eval_shared_model'

my environment:

I solved the problem by removing the line, disconnect and delete the runtime, reinstall all the dependencies and restart the runtime.

!pip install apache-beam==2.39.0

Hi and welcome to the community! This is a new error probably caused by an update with the fairness-indicators package. Thanks for reporting it and sharing the solution as well! The lab has now been updated for all learners. We’ll consider freezing the package versions to avoid this from happening often. Thanks again!