解决方法:使用
ps aux|grep python
查看python进程,然后按照顺序执行
kill -9 PID
https://www.jiqizhixin.com/articles/2018-10-17-11
https://oldpan.me/archives/pytorch-to-use-multiple-gpus
https://blog.csdn.net/u010895119/article/details/79470443
https://discuss.pytorch.org/t/multiprocessing-failed-with-torch-distributed-launch-module/33056
https://pytorch.org/tutorials/intermediate/dist_tuto.html#initialization-methods
win cmd下输入命令:
ssh-keygen -t rsa
产生公钥(id_rsa.pub)和密钥(id_rsa)
然后将公钥上传到linux服务器的.ssh文件夹(没有需要创建),通过命令
cat id_rsa.pub >> authorized_keys
生成ssh key