# 基于Pytorch的各种深度学习项目案例集合 **Repository Path**: hotcancer0716/pyTorch_DeepLearningAI ## Basic Information - **Project Name**: 基于Pytorch的各种深度学习项目案例集合 - **Description**: No description available - **Primary Language**: Python - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-05-29 - **Last Updated**: 2025-06-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 基于Pytorch的各种深度学习项目案例集合 #### 介绍 本仓库是使用pytorch+cuda运行环境实现的各种深度学习的练习和案例集合。 包括pytorch基础,主要函数的测试demo, 基于openCV和YOLO11的物体识别和检测。 经典猫狗识别,手写识别,HuggingFace,经典NLP等。 #### 软件架构 软件架构说明 主要文档手册:https://www.kdocs.cn/l/cb5I0TQuG78p #### 安装教程 CPU版 1. pip install torch torchvision import torch print(torch.__version__) # 正确获取PyTorch版本 GPU版 1. 检查电脑显卡驱动版本 cmd输入"nvidia-smi" 2. 安装cuda 3. 在官网搜索对应版本并安装,在pytorch官网https://pytorch.org/ 例:pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu126 最好在最后加上国内的镜像源,否则资源太大经常会下载失败 4. 检测是否安装成功, 在命令窗口中输入nvcc -V 进行检查 测试cuda+pytorch是否可用 import torch print(torch.__version__) print(torch.version.cuda) print(torch.cuda.is_available()) #输出为True,则安装无误 #### 使用说明 pip show torch pip show torchaudio pip show torchvision 主要文档手册:https://www.kdocs.cn/l/cb5I0TQuG78p