找一块空的显卡

nvidia-smi

在云服务器后台运行脚本(可关闭本地电脑)

CUDA_VISIBLE_DEVICES=7 nohup python3 -u main.py > output.log 2>&1 &

实时查看日志内容

tail -f output.log

更多推荐