有没有大佬看看这个python问题,失败无数次
2020-10-08 16:54:18.981431: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library cudart64_101.dll
2020-10-08 16:55:44.230601: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'nvcuda.dll'; dlerror: nvcuda.dll not found
2020-10-08 16:55:44.233055: W tensorflow/stream_executor/cuda/cuda_driver.cc:312] failed call to cuInit: UNKNOWN ERROR (303)
2020-10-08 16:55:44.244379: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:169] retrieving CUDA diagnostic information for host: rui
2020-10-08 16:55:44.245578: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:176] hostname: rui
2020-10-08 16:55:44.272651: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN)to use the following CPU instructions in performance-critical operations: AVX2
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2020-10-08 16:55:44.345835: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x262b635c830 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2020-10-08 16:55:44.346525: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version
Traceback (most recent call last):
File "F:/python学习包/交通数据/demo.py", line 4, in <module>
sess = tf.Session()
AttributeError: module 'tensorflow' has no attribute 'Session'