清华镜像:
-i https://pypi.tuna.tsinghua.edu.cn/simple
pytorch安装:
pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 torchaudio==0.12.1 --extra-index-url https://download.pytorch.org/whl/cu113
显示进程:jobs -l
杀死进程 kill -9 ID
显示用户占用:ps -aux
pip install numpy==1.19 torchpack==0.2.2 PyYAML==5.4.1 tensorboardX matplotlib einops scikit-learn tqdm h5py -i https://pypi.tuna.tsinghua.edu.cn/simple
docker启动:
sudo docker import BrepGen.tar brep
sudo docker run --gpus all -it -v /data/TC/code:/home/code --ipc=host brep:latest bash
sudo docker container stop ID