Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

Please help me to solve this issue.Thank you very much! #32

Open
z111222333 opened this issue Dec 14, 2023 · 1 comment
Open

Please help me to solve this issue.Thank you very much! #32

z111222333 opened this issue Dec 14, 2023 · 1 comment

Comments

@z111222333
Copy link

2023-12-14 15:27:21.855573: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0.
2023-12-14 15:27:21.856787: I external/local_tsl/tsl/cuda/cudart_stub.cc:31] Could not find cuda drivers on your machine, GPU will not be used.
2023-12-14 15:27:21.877562: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:9261] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
2023-12-14 15:27:21.877587: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:607] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
2023-12-14 15:27:21.878167: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1515] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2023-12-14 15:27:21.881588: I external/local_tsl/tsl/cuda/cudart_stub.cc:31] Could not find cuda drivers on your machine, GPU will not be used.
2023-12-14 15:27:21.881707: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 AVX_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-12-14 15:27:22.297023: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
Traceback (most recent call last):
File "/home/zjq/my/brain_autorl/evolving_rl/run_search.py", line 25, in
from brain_autorl.evolving_rl import evolution_v2
File "/home/zjq/my/brain_autorl/evolving_rl/evolution_v2.py", line 25, in
from brain_autorl.evolving_rl.ops import LossOpNode
File "/home/zjq/my/brain_autorl/evolving_rl/ops.py", line 20, in
import sonnet as snt
File "/home/zjq/anaconda3/envs/p3.9/lib/python3.9/site-packages/sonnet/init.py", line 60, in
from sonnet.src.recurrent import Conv1DLSTM
File "/home/zjq/anaconda3/envs/p3.9/lib/python3.9/site-packages/sonnet/src/recurrent.py", line 44, in
from tensorflow.python import context as context_lib
ImportError: cannot import name 'context' from 'tensorflow.python' (/home/zjq/anaconda3/envs/p3.9/lib/python3.9/site-packages/tensorflow/python/init.py)

@z111222333
Copy link
Author

I can't install tensorflow==2.8.0,so I installed the latest version.
INFO: pip is looking at multiple versions of tensorflow to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement tf-estimator-nightly==2.8.0.dev2021122109 (from tensorflow) (from versions: none)
ERROR: No matching distribution found for tf-estimator-nightly==2.8.0.dev2021122109

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant