sijie-Xu

Results 2 comments of sijie-Xu

我认为是cuda和cudnn版本问题,16系列显卡没有半精度,但模型训练时候使用了半精度,导致无法计算

嘿,兄弟,不需要进行这样操作, 有两种可能一种是环境变量的问题,你可以打开你的subprocess.py文件 位置在你的python环境中,比如 C:\User\...\Python\Python39\lib\subprocess.py 找到报错的位置,去打印args变量,查看哪些环境变量出了问题 `print(args) hp, ht, pid, tid = _winapi.CreateProcess(executable, args,` 另一种方式是,找到subprocess.py中的class Popen 然后将shell=False 改为 shell=True 如图所示: ![image](https://user-images.githubusercontent.com/122505422/211971729-2c5eb174-cc63-4520-851a-32408e12ae76.png)