tensorflow / neural-structured-learning

Training neural models with structured signals.
https://www.tensorflow.org/neural_structured_learning
Apache License 2.0
980 stars 189 forks source link

tensorflow estimator error in v2.16 #130

Open fredireloglab opened 1 month ago

fredireloglab commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

Ok. Thank you.