import TensorFlow提示Unable to load cuDNN DSO

本文详细介绍了在Ubuntu15.04环境下,当使用Python版本2.7和CUDA版本7.0时,遇到的无法加载cuDNN7.0的错误问题。提供了下载cuDNN6.5v2版本的步骤,并指导如何正确安装以解决该问题。

import TensorFlow提示Unable to load cuDNN DSO

  • 系统版本:Ubuntu 15.04
  • Python版本:2.7
  • cuda版本:7.0 (输入nvcc --version可查看版本号)
  • cuDNN版本: 7.0

错误原因:

目前TensorFlow不支持7.0版本的cuDNN,最高支持cuDNN 6.5 v2。

解决方法:

下载cuDNN 6.5 v2:

前往NVIDIA官网下载6.5版本的cuDNN。老版本可以在Archived cuDNN Releases选项中找到,下载cuDNN v2 Library for Linux而不是R1版本,文件名是cudnn-6.5-linux-x64-v2.tgz。

解压并安装:

说是安装实际上就是把解压后的文件复制到对应的includ和lib目录并链接。

复制cuDNN文件

进入解压后的文件夹,输入下面命令:

$ sudo cp cudnn.h /usr/local/include
$ sudo cp libcudnn.so /usr/local/lib
$ sudo cp libcudnn.so.6.5 /usr/local/lib
$ sudo cp libcudnn.so.6.5.48 /usr/local/lib

链接cuDNN的库文件

$ sudo ln -sf /usr/local/lib/libcudnn.so.6.5.48 /usr/local/lib/libcudnn.so.6.5
$ sudo ln -sf /usr/local/lib/libcudnn.so.6.5 /usr/local/lib/libcudnn.so
$ sudo ldconfig -v

吐槽一句,支持老版本不支持新版本,难不成真的是上一代技术拿出来放烟的吗,唉。。。

(.goog) PS E:\tensflowcode\GoogLeNet-Inception-master> & E:/tensflowcode/GoogLeNet-Inception-master/.goog/Scripts/python.exe e:/tensflowcode/GoogLeNet-Inception-master/GoogLeNet-Inception-master/examples/inception_pretrained.py 2025-07-29 16:16:27.967103: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found 2025-07-29 16:16:27.967322: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine. A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.6 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "e:\tensflowcode\GoogLeNet-Inception-master\GoogLeNet-Inception-master\examples\inception_pretrained.py", line 11, in <module> import tensorflow as tf File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\__init__.py", line 37, in <module> from tensorflow.python.tools import module_util as _module_util File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\__init__.py", line 37, in <module> from tensorflow.python.eager import context File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\eager\context.py", line 35, in <module> from tensorflow.python.client import pywrap_tf_session File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\client\pywrap_tf_session.py", line 19, in <module> from tensorflow.python.client._pywrap_tf_session import * AttributeError: _ARRAY_API not found A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.6 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "e:\tensflowcode\GoogLeNet-Inception-master\GoogLeNet-Inception-master\examples\inception_pretrained.py", line 11, in <module> import tensorflow as tf File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\__init__.py", line 37, in <module> from tensorflow.python.tools import module_util as _module_util File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\__init__.py", line 42, in <module> from tensorflow.python import data File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\data\__init__.py", line 21, in <module> from tensorflow.python.data import experimental File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\data\experimental\__init__.py", line 95, in <module> from tensorflow.python.data.experimental import service File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\data\experimental\service\__init__.py", line 387, in <module> from tensorflow.python.data.experimental.ops.data_service_ops import distribute File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\data\experimental\ops\data_service_ops.py", line 22, in <module> from tensorflow.python.data.experimental.ops import compression_ops File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\data\experimental\ops\compression_ops.py", line 16, in <module> from tensorflow.python.data.util import structure File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\data\util\structure.py", line 22, in <module> from tensorflow.python.data.util import nest File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\data\util\nest.py", line 36, in <module> from tensorflow.python.framework import sparse_tensor as _sparse_tensor File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\framework\sparse_tensor.py", line 24, in <module> from tensorflow.python.framework import constant_op File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\framework\constant_op.py", line 25, in <module> from tensorflow.python.eager import execute File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\eager\execute.py", line 23, in <module> from tensorflow.python.framework import dtypes File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\framework\dtypes.py", line 26, in <module> from tensorflow.python.lib.core import _pywrap_bfloat16 AttributeError: _ARRAY_API not found ImportError: numpy.core._multiarray_umath failed to import ImportError: numpy.core.umath failed to import Traceback (most recent call last): File "e:\tensflowcode\GoogLeNet-Inception-master\GoogLeNet-Inception-master\examples\inception_pretrained.py", line 11, in <module> import tensorflow as tf File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\__init__.py", line 37, in <module> from tensorflow.python.tools import module_util as _module_util File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\__init__.py", line 42, in <module> from tensorflow.python import data File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\data\__init__.py", line 21, in <module> from tensorflow.python.data import experimental File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\data\experimental\__init__.py", line 95, in <module> from tensorflow.python.data.experimental import service File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\data\experimental\service\__init__.py", line 387, in <module> from tensorflow.python.data.experimental.ops.data_service_ops import distribute File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\data\experimental\ops\data_service_ops.py", line 22, in <module> from tensorflow.python.data.experimental.ops import compression_ops File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\data\util\structure.py", line 22, in <module> from tensorflow.python.data.util import nest File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\data\util\nest.py", line 36, in <module> from tensorflow.python.framework import sparse_tensor as _sparse_tensor File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\framework\sparse_tensor.py", line 24, in <module> from tensorflow.python.framework import constant_op File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\framework\constant_op.py", line 25, in <module> from tensorflow.python.eager import execute File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\eager\execute.py", line 23, in <module> from tensorflow.python.framework import dtypes File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\framework\dtypes.py", line 29, in <module> _np_bfloat16 = _pywrap_bfloat16.TF_bfloat16_type() TypeError: Unable to convert function return value to a Python type! The signature was () -> handle (.goog) PS E:\tensflowcode\GoogLeNet-Inception-master> & E:/tensflowcode/GoogLeNet-Inception-master/.goog/Scripts/python.exe e:/tensflowcode/GoogLeNet-Inception-master/GoogLeNet-Inception-master/examples/inception_pretrained.py 2025-07-29 16:17:24.586494: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found 2025-07-29 16:17:24.586663: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine. A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.6 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "e:\tensflowcode\GoogLeNet-Inception-master\GoogLeNet-Inception-master\examples\inception_pretrained.py", line 11, in <module> import tensorflow as tf File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\__init__.py", line 37, in <module> from tensorflow.python.tools import module_util as _module_util File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\__init__.py", line 37, in <module> from tensorflow.python.eager import context File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\eager\context.py", line 35, in <module> from tensorflow.python.client import pywrap_tf_session File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\client\pywrap_tf_session.py", line 19, in <module> from tensorflow.python.client._pywrap_tf_session import * AttributeError: _ARRAY_API not found A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.6 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "e:\tensflowcode\GoogLeNet-Inception-master\GoogLeNet-Inception-master\examples\inception_pretrained.py", line 11, in <module> import tensorflow as tf File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\__init__.py", line 37, in <module> from tensorflow.python.tools import module_util as _module_util File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\__init__.py", line 42, in <module> from tensorflow.python import data File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\data\__init__.py", line 21, in <module> from tensorflow.python.data import experimental File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\data\experimental\__init__.py", line 95, in <module> from tensorflow.python.data.experimental import service File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\data\experimental\service\__init__.py", line 387, in <module> from tensorflow.python.data.experimental.ops.data_service_ops import distribute File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\data\experimental\ops\data_service_ops.py", line 22, in <module> from tensorflow.python.data.experimental.ops import compression_ops File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\data\experimental\ops\compression_ops.py", line 16, in <module> from tensorflow.python.data.util import structure File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\data\util\structure.py", line 22, in <module> from tensorflow.python.data.util import nest File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\data\util\nest.py", line 36, in <module> from tensorflow.python.framework import sparse_tensor as _sparse_tensor File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\framework\sparse_tensor.py", line 24, in <module> from tensorflow.python.framework import constant_op File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\framework\constant_op.py", line 25, in <module> from tensorflow.python.eager import execute File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\eager\execute.py", line 23, in <module> from tensorflow.python.framework import dtypes File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\framework\dtypes.py", line 26, in <module> from tensorflow.python.lib.core import _pywrap_bfloat16 AttributeError: _ARRAY_API not found ImportError: numpy.core._multiarray_umath failed to import ImportError: numpy.core.umath failed to import Traceback (most recent call last): File "e:\tensflowcode\GoogLeNet-Inception-master\GoogLeNet-Inception-master\examples\inception_pretrained.py", line 11, in <module> import tensorflow as tf File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\__init__.py", line 37, in <module> from tensorflow.python.tools import module_util as _module_util File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\__init__.py", line 42, in <module> from tensorflow.python import data File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\data\__init__.py", line 21, in <module> from tensorflow.python.data import experimental File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\data\experimental\__init__.py", line 95, in <module> from tensorflow.python.data.experimental import service File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\data\experimental\service\__init__.py", line 387, in <module> from tensorflow.python.data.experimental.ops.data_service_ops import distribute File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\data\experimental\ops\data_service_ops.py", line 22, in <module> from tensorflow.python.data.experimental.ops import compression_ops File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\data\experimental\ops\compression_ops.py", line 16, in <module> from tensorflow.python.data.util import structure File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\data\util\structure.py", line 22, in <module> from tensorflow.python.data.util import nest File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\data\util\nest.py", line 36, in <module> from tensorflow.python.framework import sparse_tensor as _sparse_tensor File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\framework\sparse_tensor.py", line 24, in <module> from tensorflow.python.framework import constant_op File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\framework\constant_op.py", line 25, in <module> from tensorflow.python.eager import execute File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\eager\execute.py", line 23, in <module> from tensorflow.python.framework import dtypes File "E:\tensflowcode\GoogLeNet-Inception-master\.goog\lib\site-packages\tensorflow\python\framework\dtypes.py", line 29, in <module> _np_bfloat16 = _pywrap_bfloat16.TF_bfloat16_type() TypeError: Unable to convert function return value to a Python type! The signature was () -> handle? 什么错误啊?
07-30
2025-09-10 00:47:05.762545: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found 2025-09-10 00:47:05.762651: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine. A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.6 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "D:\pythonProject4\main.py", line 1, in <module> import tensorflow as tf File "D:\miniconda\envs\pytorch_env\lib\site-packages\tensorflow\__init__.py", line 37, in <module> from tensorflow.python.tools import module_util as _module_util File "D:\miniconda\envs\pytorch_env\lib\site-packages\tensorflow\python\__init__.py", line 37, in <module> from tensorflow.python.eager import context File "D:\miniconda\envs\pytorch_env\lib\site-packages\tensorflow\python\eager\context.py", line 35, in <module> from tensorflow.python.client import pywrap_tf_session File "D:\miniconda\envs\pytorch_env\lib\site-packages\tensorflow\python\client\pywrap_tf_session.py", line 19, in <module> from tensorflow.python.client._pywrap_tf_session import * AttributeError: _ARRAY_API not found A module that was compiled using NumPy 1.x cannot be run in NumPy 2.2.6 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "D:\pythonProject4\main.py", line 1, in <module> import tensorflow as tf File "D:\miniconda\envs\pytorch_env\lib\site-packages\tensorflow\__init__.py", line 37, in <module> from tensorflow.python.tools import module_util as _module_util File "D:\miniconda\envs\pytorch_env\lib\site-packages\tensorflow\python\__init__.py", line 42, in <module> from tensorflow.python import data File "D:\miniconda\envs\pytorch_env\lib\site-packages\tensorflow\python\data\__init__.py", line 21, in <module> from tensorflow.python.data import experimental File "D:\miniconda\envs\pytorch_env\lib\site-packages\tensorflow\python\data\experimental\__init__.py", line 96, in <module> from tensorflow.python.data.experimental import service File "D:\miniconda\envs\pytorch_env\lib\site-packages\tensorflow\python\data\experimental\service\__init__.py", line 419, in <module> from tensorflow.python.data.experimental.ops.data_service_ops import distribute File "D:\miniconda\envs\pytorch_env\lib\site-packages\tensorflow\python\data\experimental\ops\data_service_ops.py", line 24, in <module> from tensorflow.python.data.experimental.ops import compression_ops File "D:\miniconda\envs\pytorch_env\lib\site-packages\tensorflow\python\data\experimental\ops\compression_ops.py", line 16, in <module> from tensorflow.python.data.util import structure File "D:\miniconda\envs\pytorch_env\lib\site-packages\tensorflow\python\data\util\structure.py", line 23, in <module> from tensorflow.python.data.util import nest File "D:\miniconda\envs\pytorch_env\lib\site-packages\tensorflow\python\data\util\nest.py", line 36, in <module> from tensorflow.python.framework import sparse_tensor as _sparse_tensor File "D:\miniconda\envs\pytorch_env\lib\site-packages\tensorflow\python\framework\sparse_tensor.py", line 24, in <module> from tensorflow.python.framework import constant_op File "D:\miniconda\envs\pytorch_env\lib\site-packages\tensorflow\python\framework\constant_op.py", line 25, in <module> from tensorflow.python.eager import execute File "D:\miniconda\envs\pytorch_env\lib\site-packages\tensorflow\python\eager\execute.py", line 23, in <module> from tensorflow.python.framework import dtypes File "D:\miniconda\envs\pytorch_env\lib\site-packages\tensorflow\python\framework\dtypes.py", line 29, in <module> from tensorflow.python.lib.core import _pywrap_bfloat16 AttributeError: _ARRAY_API not found ImportError: numpy.core._multiarray_umath failed to import ImportError: numpy.core.umath failed to import Traceback (most recent call last): File "D:\pythonProject4\main.py", line 1, in <module> import tensorflow as tf File "D:\miniconda\envs\pytorch_env\lib\site-packages\tensorflow\__init__.py", line 37, in <module> from tensorflow.python.tools import module_util as _module_util File "D:\miniconda\envs\pytorch_env\lib\site-packages\tensorflow\python\__init__.py", line 42, in <module> from tensorflow.python import data File "D:\miniconda\envs\pytorch_env\lib\site-packages\tensorflow\python\data\__init__.py", line 21, in <module> from tensorflow.python.data import experimental File "D:\miniconda\envs\pytorch_env\lib\site-packages\tensorflow\python\data\experimental\__init__.py", line 96, in <module> from tensorflow.python.data.experimental import service File "D:\miniconda\envs\pytorch_env\lib\site-packages\tensorflow\python\data\experimental\service\__init__.py", line 419, in <module> from tensorflow.python.data.experimental.ops.data_service_ops import distribute File "D:\miniconda\envs\pytorch_env\lib\site-packages\tensorflow\python\data\experimental\ops\data_service_ops.py", line 24, in <module> from tensorflow.python.data.experimental.ops import compression_ops File "D:\miniconda\envs\pytorch_env\lib\site-packages\tensorflow\python\data\experimental\ops\compression_ops.py", line 16, in <module> from tensorflow.python.data.util import structure File "D:\miniconda\envs\pytorch_env\lib\site-packages\tensorflow\python\data\util\structure.py", line 23, in <module> from tensorflow.python.data.util import nest File "D:\miniconda\envs\pytorch_env\lib\site-packages\tensorflow\python\data\util\nest.py", line 36, in <module> from tensorflow.python.framework import sparse_tensor as _sparse_tensor File "D:\miniconda\envs\pytorch_env\lib\site-packages\tensorflow\python\framework\sparse_tensor.py", line 24, in <module> from tensorflow.python.framework import constant_op File "D:\miniconda\envs\pytorch_env\lib\site-packages\tensorflow\python\framework\constant_op.py", line 25, in <module> from tensorflow.python.eager import execute File "D:\miniconda\envs\pytorch_env\lib\site-packages\tensorflow\python\eager\execute.py", line 23, in <module> from tensorflow.python.framework import dtypes File "D:\miniconda\envs\pytorch_env\lib\site-packages\tensorflow\python\framework\dtypes.py", line 34, in <module> _np_bfloat16 = _pywrap_bfloat16.TF_bfloat16_type() TypeError: Unable to convert function return value to a Python type! The signature was () -> handle
最新发布
09-11
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值