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__)"
相关推荐
F_D_Z4 天前
TensorFlow Playground 交互式神经网络可视化工具
人工智能·神经网络·tensorflow
yousuotu4 天前
水果新鲜度分类
人工智能·深度学习·tensorflow
Java后端的Ai之路5 天前
【人工智能领域】-Transformer vs TensorFlow:区别详解
人工智能·tensorflow·transformer
数据分享者5 天前
原创大规模无人机检测数据集:11998张高质量图像,支持YOLOv8、COCO、TensorFlow多格式训练,涵盖飞机、无人机、直升机三大目标类别
算法·yolo·数据分析·tensorflow·无人机
yousuotu5 天前
基于Tensorflow实现苹果新鲜度分类模型
人工智能·深度学习·tensorflow
Elaine3367 天前
【 基于 TensorFlow+CNN 的水果图像识别系统设计与实现】
人工智能·python·深度学习·计算机视觉·cnn·tensorflow
Java后端的Ai之路8 天前
【神经网络基础】-TensorFlow Serving官方的生产级模型部署
神经网络·部署·tensorflow·neo4j·tensorflowserv
学习是生活的调味剂8 天前
在大模型开发中,是否需要先完整学习 TensorFlow,再学 PyTorch?
pytorch·学习·tensorflow·transformers
后端小张10 天前
【TextIn大模型加速器 + 火山引擎】TextIn大模型加速器与火山引擎协同构建智能文档处理新范式
人工智能·学习·数据挖掘·langchain·tensorflow·gpt-3·火山引擎
vvoennvv10 天前
【Python TensorFlow】 TCN-BiGRU时间序列卷积双向门控循环神经网络时序预测算法(附代码)
python·神经网络·机器学习·gru·tensorflow·tcn