neural-structured-learning icon indicating copy to clipboard operation
neural-structured-learning copied to clipboard

tensorflow estimator error in v2.16

Open fredireloglab opened this issue 1 year ago • 2 comments

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?

fredireloglab avatar Jul 08 '24 03:07 fredireloglab

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.

DualityGap avatar Jul 08 '24 20:07 DualityGap

Ok. Thank you.

fredireloglab avatar Jul 12 '24 02:07 fredireloglab