Skip to content

tensorflow estimator error in v2.16 #130

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

Open
fredireloglab opened this issue Jul 8, 2024 · 2 comments
Open

tensorflow estimator error in v2.16 #130

fredireloglab opened this issue Jul 8, 2024 · 2 comments

Comments

@fredireloglab
Copy link

I am trying to use your API with TF2.16 but I got this error:

from neural_structured_learning import estimator
File "/data2/users/angeloso/anaconda/ajsoto/lib/python3.11/site-packages/neural_structured_learning/estimator/init.py", line 7, in
from neural_structured_learning.estimator.adversarial_regularization import add_adversarial_regularization
File "/data2/users/angeloso/anaconda/ajsoto/lib/python3.11/site-packages/neural_structured_learning/estimator/adversarial_regularization.py", line 27, in
from tensorflow import estimator as tf_estimator
ImportError: cannot import name 'estimator' from 'tensorflow' (/data2/users/angeloso/anaconda/ajsoto/lib/python3.11/site-packages/tensorflow/init.py)

Are you planning update your API soon?

@DualityGap
Copy link
Contributor

Thank you for reaching out! Neural Structured Learning (NSL) is currently in a maintenance phase, which means there are no immediate plans for major updates or active API development. We value your interest and will keep you informed of any changes in the future.

@fredireloglab
Copy link
Author

Ok. Thank you.

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

No branches or pull requests

2 participants