win10安装在anaconda 中tensorflow2.10

  • python 3.10.18

  • cudatoolkit:11.2.2

  • cudnn: 8.1.0

  • numpy: 1.23.5

  • conda install cudatoolkit=11.2 cudnn=8.1.0 -c conda-forge

  • python -m pip install tensorflow==2.10

不要装 tensorflow-gpu,改装 tensorflow==2.10.*

tensorflow-gpu 这个包在新版本 TensorFlow 里基本已经"废弃/不再需要"了(GPU 支持已经合并进 tensorflow 主包),用 pip 装 tensorflow-gpu==2.10 会被依赖链(尤其是 grpcio)卡死,出现 "No matching distribution found"。

未尝试可行的

bash 复制代码
conda create -n tf210 python=3.10 -y
conda activate tf210
python -m pip install --upgrade pip
conda install cudatoolkit=11.2 cudnn=8.1.0 -c conda-forge
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple "numpy==1.23.5" "protobuf<4" "tensorflow==2.10.*"
python -c "import tensorflow as tf; print(tf.__version__)"
相关推荐
移幻漂流2 天前
05 - TensorFlow Lite 技术全景:轻量级机器学习推理引擎完整解析
android·人工智能·机器学习·tensorflow
却道天凉_好个秋2 天前
Tensorflow数据增强(二):基本变换操作
人工智能·python·tensorflow
GatiArt雷2 天前
TensorFlow Lite在STM32嵌入式设备中的AI图像识别实战
人工智能·stm32·tensorflow
错把套路当深情3 天前
通俗易懂的 TensorFlow 和 Transformers
人工智能·tensorflow·transformer
weixin_456907413 天前
使用 html为 ppt 文档添加文本像素格的实用方法
html·tensorflow·powerpoint
YelloooBlue3 天前
深度学习 SOP: conda通过命令快速构建指定版本tensorflow gpu环境。
深度学习·conda·tensorflow
翱翔的苍鹰7 天前
多Agent智能体系统设计思路
java·python·深度学习·神经网络·机器学习·tensorflow
地球没有花8 天前
调整warmup的batch优化tensorflow serving P99耗时毛刺
人工智能·python·tensorflow
莫非王土也非王臣8 天前
网页端的TensorFlow开发实践
人工智能·python·tensorflow
却道天凉_好个秋10 天前
Tensorflow数据增强(一):图片的导入与显示
人工智能·python·tensorflow