使用的是并行计算云,现在有活动,可以用到明年3月多。50元入会,有500元的卷。
注册完会员后,按照图里说的领卷即可,卷会发送到邮箱里,按照要求兑换就好。下面是具体使用流程。
可以在不开机的情况下,先把自己的代码和数据集传到容器存储中去
开机后,需要根据自己代码要求环境,创建环境,下面是我自己配置环境的过程。
一、创建环境
1、创建虚拟环境
python -m venv myenv
2、进入虚拟环境
source myenv/bin/activate
二、配置环境
1、安装torch
pip install torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 --index-url https://download.pytorch.org/whl/cu118 -i https://pypi.tuna.tsinghua.edu.cn/simple
2、安装pandas
pip install pandas -i https://pypi.tuna.tsinghua.edu.cn/simple
3、安装opencv-python
pip install opencv-python -i https://pypi.tuna.tsinghua.edu.cn/simple
4、安装matplotlib
pip install matplotlib -i https://pypi.tuna.tsinghua.edu.cn/simple
5、安装seaborn
pip install seaborn -i https://pypi.tuna.tsinghua.edu.cn/simple
6、安装scipy
pip install scipy -i https://pypi.tuna.tsinghua.edu.cn/simple
7、安装pyyaml
pip install pyyaml -i https://pypi.tuna.tsinghua.edu.cn/simple
8、安装tensorboard
pip install tensorboard -i https://pypi.tuna.tsinghua.edu.cn/simple
9、安装tqdm
pip install tqdm -i https://pypi.tuna.tsinghua.edu.cn/simple
10、安装numpy
pip install numpy==1.23.5 -i https://pypi.tuna.tsinghua.edu.cn/simple