AttributeError: module 'torch._C' has no attribute '_cuda_setDevice',在python命令后面加上 --gpu_ids -1

https://blog.csdn.net/weixin_39450145/article/details/104797786