激活虛擬環境:
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