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

相关推荐
我有满天星辰2 分钟前
第一次使用 Milvus:给我的 AI 知识库装上“记忆”
人工智能·milvus
名字还没想好☜7 分钟前
Spring @EventListener 事件驱动解耦实战:同步转异步、事务绑定与顺序控制
java·数据库·后端·python·spring
YOLO数据集集合10 分钟前
天空反无人机检测数据集 | 无人机检测 多旋翼识别 固定翼识别 低空安防 目标检测9063期
人工智能·yolo·目标检测·计算机视觉·无人机·反无人机
一木 之林15 分钟前
插件、MCP、Skill 的区别?
java·c++·人工智能
JiMoKuangXiangQu24 分钟前
在 AllWinner T507 上部署 Qwen2.5-0.5B 大语言模型
人工智能·llama.cpp·推理引擎
szarron35 分钟前
RF Demo Kit|NanoVNA 射频演示测试板完整上手教程,滤波器、衰减器、SOLT 校准学习板
开发语言·人工智能·学习·php·射频工程·频谱仪
IT·陈寒38 分钟前
JavaScript性能优化完全指南
人工智能·大模型·api·创业·变现·简历优化
tedcloud12339 分钟前
Wand-Enhancer:如何搭建一套远程开发与测试环境
前端·人工智能·macos·开源·流程图
薛定谔的猫-菜鸟程序员43 分钟前
端侧免费大模型实测:MiniCPM5-2B-Q4_K_M 架构拆解与 4GB 显卡实测
人工智能·大模型·agent·hermes·minicpm5-2b
小海豚儿44 分钟前
没有反馈的 Loop,只是更贵的重试
人工智能·ai编程