Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bugfix] Fix for importing the estimator_export decorator from tensorflow_estimator #349

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

othakkar
Copy link

Due to a recent commit in TensorFlow (tensorflow/tensorflow@3837d0f) that removes support for the estimator_export decorator from tf_export inside TensorFlow, several models such as MMoE fail to run with the following error:
ImportError: cannot import name 'estimator_export' from 'tensorflow.python.util.tf_export'.

As a solution, 'estimator_export' now needs to be imported from within the tensorflow_estimator package itself.

@CLAassistant
Copy link

CLAassistant commented Feb 23, 2023

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ othakkar
❌ chengmengli06
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants