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

相关推荐
极智视界几秒前
分类场景数据集大全「包含数据标注+训练脚本」 (持续原地更新)
人工智能·yolo·数据集·分类算法·数据标注·classification·分类数据集
深科文库2 分钟前
构建 MCP 服务器:第 4 部分 — 创建工具
python·chatgpt·prompt·aigc·agi·ai-native
witton7 分钟前
美化显示LLDB调试的数据结构
数据结构·python·lldb·美化·debugger·mupdf·pretty printer
翻滚的小@强17 分钟前
自动驾驶科普(百度Apollo)学习笔记
人工智能·自动驾驶·百度apollo
从零开始学习人工智能17 分钟前
从游戏到自动驾驶:互联网时代强化学习如何让机器学会自主决策?
人工智能·游戏·自动驾驶
幼稚园的山代王32 分钟前
Prompt Enginering(提示工程)先进技术
java·人工智能·ai·chatgpt·langchain·prompt
dfsj6601133 分钟前
LLMs 系列科普文(14)
人工智能·深度学习·算法
摘取一颗天上星️39 分钟前
深入解析机器学习的心脏:损失函数及其背后的奥秘
人工智能·深度学习·机器学习·损失函数·梯度下降
远方16091 小时前
20-Oracle 23 ai free Database Sharding-特性验证
数据库·人工智能·oracle
znhy60581 小时前
智能终端与边缘计算按章复习
人工智能·边缘计算