win10 anaconda pytorch avalanche-lib 实验步骤记录

复制代码
conda create --name test_python3.10
conda activate test_python3.10
配置conda国内源(北外)
conda install pytorch torchvision torchaudio cpuonly -c pytorch
pip3 install avalanche-lib  -i    https://pypi.tuna.tsinghua.edu.cn/simple
conda install jupyter
jupyter notebook


鼠标单击 run notebook

生成conda源的配置文件:

复制代码
conda config --set show_channel_urls yes

/home/hanmeimei/.condarc

C:\User\hanmeimei\.condarc

改成如下北外源的内容:

复制代码
channels:
  - defaults
show_channel_urls: true
channel_alias: https://mirrors.bfsu.edu.cn/anaconda
default_channels:
  - https://mirrors.bfsu.edu.cn/anaconda/pkgs/main
  - https://mirrors.bfsu.edu.cn/anaconda/pkgs/free
  - https://mirrors.bfsu.edu.cn/anaconda/pkgs/r
  - https://mirrors.bfsu.edu.cn/anaconda/pkgs/pro
  - https://mirrors.bfsu.edu.cn/anaconda/pkgs/msys2
custom_channels:
  conda-forge: https://mirrors.bfsu.edu.cn/anaconda/cloud
  msys2: https://mirrors.bfsu.edu.cn/anaconda/cloud
  bioconda: https://mirrors.bfsu.edu.cn/anaconda/cloud
  menpo: https://mirrors.bfsu.edu.cn/anaconda/cloud
  pytorch: https://mirrors.bfsu.edu.cn/anaconda/cloud
  simpleitk: https://mirrors.bfsu.edu.cn/anaconda/cloud

清楚原先的下载配置缓存:

复制代码
conda clean -i

channels:

  • defaults

show_channel_urls: true

channel_alias: https://mirrors.bfsu.edu.cn/anaconda

default_channels:

custom_channels:

conda-forge: https://mirrors.bfsu.edu.cn/anaconda/cloud

msys2: https://mirrors.bfsu.edu.cn/anaconda/cloud

bioconda: https://mirrors.bfsu.edu.cn/anaconda/cloud

menpo: https://mirrors.bfsu.edu.cn/anaconda/cloud

pytorch: https://mirrors.bfsu.edu.cn/anaconda/cloud

simpleitk: https://mirrors.bfsu.edu.cn/anaconda/cloud

相关推荐
AI营销实验室1 小时前
原圈科技AI CRM系统赋能销售新未来,行业应用与创新点评
人工智能·科技
爱笑的眼睛111 小时前
超越MSE与交叉熵:深度解析损失函数的动态本质与高阶设计
java·人工智能·python·ai
tap.AI1 小时前
RAG系列(一) 架构基础与原理
人工智能·架构
北邮刘老师2 小时前
【智能体互联协议解析】北邮ACPs协议和代码与智能体互联AIP标准的关系
人工智能·大模型·智能体·智能体互联网
亚马逊云开发者2 小时前
使用Amazon Q Developer CLI快速构建市场分析智能体
人工智能
Coding茶水间2 小时前
基于深度学习的非机动车头盔检测系统演示与介绍(YOLOv12/v11/v8/v5模型+Pyqt5界面+训练代码+数据集)
图像处理·人工智能·深度学习·yolo·目标检测·机器学习·计算机视觉
Rose sait2 小时前
【环境配置】Linux配置虚拟环境pytorch
linux·人工智能·python
福客AI智能客服2 小时前
从被动响应到主动赋能:家具行业客服机器人的革新路径
大数据·人工智能
司南OpenCompass2 小时前
衡量AI真实科研能力!司南科学智能评测上线
人工智能·多模态模型·大模型评测·司南评测
罗宇超MS2 小时前
如何看待企业自建AI知识库?
人工智能·alm