RuntimeError: cuDNN error: CUDNN_STATUS_INTERNAL_ERROR #193

Open
opened 2022-01-18 10:15:33 +01:00 by Wiliampeng · 1 comment
Wiliampeng commented 2022-01-18 10:15:33 +01:00 (Migrated from github.com)

I'am newbie ,please help ! First time try to install and run simswap ,the command si below :
我是初次安装运行simswap,执行命令如下:
(simswap) D:\Program Files\SimSwap>python test_one_image.py --isTrain false --name people --Arc_path arcface_model/arcface_checkpoint.tar --pic_a_path crop_224/6.jpg --pic_b_path crop_224/dnl.jpg --output_path output/
Retrun Error :
返回报错:
D:\anaconda3\envs\simswap\lib\site-packages\torch\serialization.py:656: SourceChangeWarning: source code of class 'torch.nn.parallel.data_parallel.DataParallel' has changed. Tried to save a patch, but couldn't create a writable file DataParallel.patch. Make sure it doesn't exist and your working directory is writable.
warnings.warn(msg, SourceChangeWarning)...
and some similar text like that , the difference is "class ..."
后面还有好大一串类似的报错,只是class不同。
The last error text line is :
最后一行报错是: RuntimeError: cuDNN error: CUDNN_STATUS_INTERNAL_ERROR
Detailed command runned and error in the file below :
执行代码及报错.txt
I searched on internet ,the error "source code has changed" ,i have not change any code at all , don't understand why there's such error?
百度了一下,报source code has changed ,是因为源代码改了,可是我根本没动过代码,不明白为什么提示这个?
" CUDNN_STATUS_INTERNAL_ERROR" , some one says ,because of multi GPU, some says too big Batch_size , and i have no idea how to change the running parameter. My notebook PC dose have 2 GPU ,one is on CPU ,and the other is nvidia MX450.
If anyone konw how to solve this issue, please help me !
CUDNN_STATUS_INTERNAL_ERROR,这个报错,有人说是因为多GPU导致的,有人说是Batch_size过大,我的笔记本是核显+独显,但是我不知道怎么改运行参数,还请赐教,谢谢!
win10 , cpu: i7-1165g7 GPU:MX450 , cuda:11.4 , Python 3.6.13 , torch 1.8.0

I'am newbie ,please help ! First time try to install and run simswap ,the command si below : 我是初次安装运行simswap,执行命令如下: (simswap) D:\Program Files\SimSwap>python test_one_image.py --isTrain false --name people --Arc_path arcface_model/arcface_checkpoint.tar --pic_a_path crop_224/6.jpg --pic_b_path crop_224/dnl.jpg --output_path output/ Retrun Error : 返回报错: D:\anaconda3\envs\simswap\lib\site-packages\torch\serialization.py:656: SourceChangeWarning: source code of class 'torch.nn.parallel.data_parallel.DataParallel' has changed. Tried to save a patch, but couldn't create a writable file DataParallel.patch. Make sure it doesn't exist and your working directory is writable. warnings.warn(msg, SourceChangeWarning)... and some similar text like that , the difference is "class ..." 后面还有好大一串类似的报错,只是class不同。 The last error text line is : 最后一行报错是: RuntimeError: cuDNN error: CUDNN_STATUS_INTERNAL_ERROR Detailed command runned and error in the file below : [执行代码及报错.txt](https://github.com/neuralchen/SimSwap/files/7887679/default.txt) I searched on internet ,the error "source code has changed" ,i have not change any code at all , don't understand why there's such error? 百度了一下,报source code has changed ,是因为源代码改了,可是我根本没动过代码,不明白为什么提示这个? " CUDNN_STATUS_INTERNAL_ERROR" , some one says ,because of multi GPU, some says too big Batch_size , and i have no idea how to change the running parameter. My notebook PC dose have 2 GPU ,one is on CPU ,and the other is nvidia MX450. If anyone konw how to solve this issue, please help me ! CUDNN_STATUS_INTERNAL_ERROR,这个报错,有人说是因为多GPU导致的,有人说是Batch_size过大,我的笔记本是核显+独显,但是我不知道怎么改运行参数,还请赐教,谢谢! win10 , cpu: i7-1165g7 GPU:MX450 , cuda:11.4 , Python 3.6.13 , torch 1.8.0
Wiliampeng commented 2022-01-25 11:43:44 +01:00 (Migrated from github.com)

@neuralchen @NNNNAI 请帮帮忙看看这个报错是什么情况,多谢!
Please help me ! Thank a lot !

@neuralchen @NNNNAI 请帮帮忙看看这个报错是什么情况,多谢! Please help me ! Thank a lot !
Sign in to join this conversation.