PAIR-code / what-if-tool

Source code/webpage/demos for the What-If Tool
https://pair-code.github.io/what-if-tool
Apache License 2.0
921 stars 170 forks source link

what if tool error #241

Open kaustubhnair02 opened 2 weeks ago

kaustubhnair02 commented 2 weeks ago

In the what if code given for colab and jupyter under the heading define helper functions. This part is giving error saying tensorflow has no attribute estimators. What could be the possible issue and is any other dependency required to be installed on the system or colab before running it, if so then kindly specify.

jameswex commented 2 weeks ago

The What-If Tool was built years ago, for an old version of TensorFlow (2.0.0). TensorFlow Estimators were removed in 2.16 I believe so the library is not compatible with versions of TensorFlow at version 2.16 or newer.

The What-If Tool is not actively maintained. I would suggest looking into https://github.com/PAIR-code/lit/ instead, which is a successor project to WIT and much more up to date.