We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
conda create -n py27 python=2.7 conda deactivate conda activate py27
pip install https://download.pytorch.org/whl/cu80/torch-0.3.0.post4-cp27-cp27mu-linux_x86_64.whl pip install torchvision==0.2.1 pip install matplotlib scipy
git clone https://github.com/brendenlake/omniglot.git cd /LearningToCompare_FSL/datas unzip omniglot_28x28.zip cd /LearningToCompare_FSL/omniglot python omniglot_train_one_shot.py -w 5 -s 1 -b 19
我是在矩池云上复现了LearningToCompare_FSL的环境,镜像选用 Tensorflow 1.4 因为他是 cuda8 的。
bash /public/script/switch_conda_source.sh
一键脚本获取:https://github.com/matpool/matools
conda create -n py27 python=2.7
conda deactivate conda activate py27
接下来的任务是找 torch 0.3 的whl安装包,我从下面的链接中找到了
https://download.pytorch.org/whl/cu80/torch_stable.html
我这里是直接pip,复制下面的命令即可。
pip install https://download.pytorch.org/whl/cu80/torch-0.3.0.post4-cp27-cp27mu-linux_x86_64.whl -i https://pypi.tuna.tsinghua.edu.cn/simple some-package pip install torchvision==0.2.1 pip install matplotlib scipy
pip list
git clone https://github.com/brendenlake/omniglot.git
我这里用了一个github镜像来完成
git clone https://hub.fastgit.org/floodsung/LearningToCompare_FSL.git cd LearningToCompare_FSL/ ls
cd /LearningToCompare_FSL/datas unzip omniglot_28x28.zip cd /LearningToCompare_FSL/omniglot python omniglot_train_one_shot.py -w 5 -s 1 -b 19
nvidia-smi -l 5
矩池云上如何加速 GitHub 下载?
矩池云上执行 conda install 的时候下载特别慢怎么办?怎么切换源?
https://pytorch.org/get-started/previous-versions/
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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镜像来完成
git clone https://hub.fastgit.org/floodsung/LearningToCompare_FSL.git cd LearningToCompare_FSL/ ls
解压文件并测试运行
查看有没有使用到gpu
查看文章
矩池云上如何加速 GitHub 下载?
矩池云上执行 conda install 的时候下载特别慢怎么办?怎么切换源?
https://pytorch.org/get-started/previous-versions/
The text was updated successfully, but these errors were encountered: