激活虚拟环境:
source bin/activate
source .bashrc
source activate py36
source env_torch/bin/activate
查看GPU使用情况
nvidia-smi
MAC从服务器上下载文件
scp [email protected]:/home/yeler082/Unsupervised-Segmentation/Unsupervised-Segmentation/modify_seg/seg_tiger_9s.jpg /Users/macaiting/PycharmProjects/Unsupervised-Segmentation/Unsupervised-Segmentation/modify_seg
AC从服务器上下载文件夹
scp -r [email protected]:/home/bxx-mct/papper/Unsupervised-Segmentation/Unsupervised-Segmentation/dilation_modify_seg /Users/macaiting/PycharmProjects/Unsupervised-Segmentation/Unsupervised-Segmentation/dilation_modify_segcd
查看当前环境是否使用GPU
lspci |grep -i nvidia
查看numpy版本号
pip install -U numpy
import numpy
print numpy.version.version#查看numpy版本号
查看服务上当前用户使用服务器的情况
top