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

相关推荐
没有钱的钱仔1 天前
机器学习笔记
人工智能·笔记·机器学习
听风吹等浪起1 天前
基于改进TransUNet的港口船只图像分割系统研究
人工智能·深度学习·cnn·transformer
SunnyDays10111 天前
如何使用Python高效转换Excel到HTML
python·excel转html
Q_Q5110082851 天前
python+django/flask的在线学习系统的设计与实现 积分兑换礼物
spring boot·python·django·flask·node.js·php
化作星辰1 天前
深度学习_原理和进阶_PyTorch入门(2)后续语法3
人工智能·pytorch·深度学习
boonya1 天前
ChatBox AI 中配置阿里云百炼模型实现聊天对话
人工智能·阿里云·云计算·chatboxai
8K超高清1 天前
高校巡展:中国传媒大学+河北传媒学院
大数据·运维·网络·人工智能·传媒
老夫的码又出BUG了1 天前
预测式AI与生成式AI
人工智能·科技·ai
AKAMAI1 天前
AI 边缘计算:决胜未来
人工智能·云计算·边缘计算
Q_Q5110082851 天前
python+django/flask的车辆尾气检测排放系统-可视化大屏展示
spring boot·python·django·flask·node.js·php