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