阿里云服务器使用教程

首先确保您的系统和apt包列表完全更新:

apt-get update -y
apt-get upgrade -y

下载git:

apt-get install git

从github上下载源代码:

git clone https://github.com/rainarch/DSNER.git

将cpu改成gpu:

import os
os.environ["CUDA_VISIBLE_DEVICES"] = "0"

安装Nvidia驱动:

https://blog.csdn.net/DarrenXf/article/details/82110962

https://blog.csdn.net/ksws0292756/article/details/79160742

猜你喜欢

转载自blog.csdn.net/u011939633/article/details/93987596