You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.
My model uses some new modules and then reports an error:ImportError: This version of TensorFlow Probability requires TensorFlow version >= 2.14; Detected an installation of version 2.10.0. Please upgrade TensorFlow to proceed.
After I upgraded tensorflow to 2.14, this original error is gone. But a new error appeared: File "C:\Users\panyingying\.conda\envs\tensorflow\lib\site-packages\tensorflow_privacy\__init__.py", line 26, in <module> from tensorflow_privacy import v1 File "C:\Users\panyingying\.conda\envs\tensorflow\lib\site-packages\tensorflow_privacy\v1\__init__.py", line 28, in <module> from tensorflow_privacy.privacy.estimators.v1.dnn import DNNClassifier as DNNClassifierV1 File "C:\Users\panyingying\.conda\envs\tensorflow\lib\site-packages\tensorflow_privacy\privacy\estimators\v1\dnn.py", line 19, in <module> from tensorflow_privacy.privacy.estimators.v1 import head as head_lib File "C:\Users\panyingying\.conda\envs\tensorflow\lib\site-packages\tensorflow_privacy\privacy\estimators\v1\head.py", line 18, in <module> from tensorflow.python.ops import lookup_ops # pylint: disable=g-direct-tensorflow-import ImportError: cannot import name 'lookup_ops' from 'tensorflow.python.ops' (unknown location)
Has anyone else encountered this error? Please help me!
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
My model uses some new modules and then reports an error:ImportError: This version of TensorFlow Probability requires TensorFlow version >= 2.14; Detected an installation of version 2.10.0. Please upgrade TensorFlow to proceed.
After I upgraded tensorflow to 2.14, this original error is gone. But a new error appeared:
File "C:\Users\panyingying\.conda\envs\tensorflow\lib\site-packages\tensorflow_privacy\__init__.py", line 26, in <module> from tensorflow_privacy import v1 File "C:\Users\panyingying\.conda\envs\tensorflow\lib\site-packages\tensorflow_privacy\v1\__init__.py", line 28, in <module> from tensorflow_privacy.privacy.estimators.v1.dnn import DNNClassifier as DNNClassifierV1 File "C:\Users\panyingying\.conda\envs\tensorflow\lib\site-packages\tensorflow_privacy\privacy\estimators\v1\dnn.py", line 19, in <module> from tensorflow_privacy.privacy.estimators.v1 import head as head_lib File "C:\Users\panyingying\.conda\envs\tensorflow\lib\site-packages\tensorflow_privacy\privacy\estimators\v1\head.py", line 18, in <module> from tensorflow.python.ops import lookup_ops # pylint: disable=g-direct-tensorflow-import ImportError: cannot import name 'lookup_ops' from 'tensorflow.python.ops' (unknown location)
Has anyone else encountered this error? Please help me!
The text was updated successfully, but these errors were encountered: