LiManyuan663

Results 2 comments of LiManyuan663

train.py 里面这一句# os.environ["CUDA_VISIBLE_DEVICES"]=opt.gpu 注释掉。然后在报错的前面加上print(torch.cuda.is_available()) 似乎是因为cuda需要先检测才能用,不然就是默认没有装。 I don't know how to describe my solution in English……