PyTorch code for CVPR 2018 paper: Learning to Compare: Relation Network for Few-Shot Learning (Few-Shot Learning part)
1.04k
stars
268
forks
source link
💪 Reproduce LearningToCompare_FSL environment on Ubuntu 16.04 CUDA 8.0 #46
Open
zionfuo opened 3 years ago
English
中文
我是在矩池云上复现了LearningToCompare_FSL的环境,镜像选用 Tensorflow 1.4 因为他是 cuda8 的。
切换conda源
一键脚本获取:https://github.com/matpool/matools
创建虚拟python环境
安装 torch 0.3
接下来的任务是找 torch 0.3 的whl安装包,我从下面的链接中找到了
https://download.pytorch.org/whl/cu80/torch_stable.html
我这里是直接pip,复制下面的命令即可。
拉取github库
我这里用了一个github镜像来完成
解压文件并测试运行
查看有没有使用到gpu
查看文章
矩池云上如何加速 GitHub 下载?
矩池云上执行 conda install 的时候下载特别慢怎么办?怎么切换源?
https://pytorch.org/get-started/previous-versions/