|
发表于 2023-2-24 16:42:31
|
显示全部楼层
当前运行GPEN增强,模式人脸增强
初始化中...如长时间未响应,请清理缓存
No CUDA runtime is found, using CUDA_HOME='D:\GPEN_GFPGAN_CodeFormer\_internal\CUDA\'
Traceback (most recent call last):
File "run.py", line 137, in <module>
processer = FaceEnhancement(in_size=args.in_size, model=args.model, use_sr=args.use_sr, sr_model=args.sr_model, channel_multiplier=args.channel_multiplier, narrow=args.narrow, key=args.key, device='cuda' if args.use_cuda else 'cpu')
File "D:\GPEN_GFPGAN_CodeFormer\GPEN\face_enhancement.py", line 17, in __init__
self.facedetector = RetinaFaceDetection(base_dir, device)
File "D:\GPEN_GFPGAN_CodeFormer\GPEN\face_detect\retinaface_detection.py", line 28, in __init__
self.net = self.net.to(device)
File "D:\GPEN_GFPGAN_CodeFormer\_internal\Python37\lib\site-packages\torch\nn\modules\module.py", line 852, in to
return self._apply(convert)
File "D:\GPEN_GFPGAN_CodeFormer\_internal\Python37\lib\site-packages\torch\nn\modules\module.py", line 530, in _apply
module._apply(fn)
File "D:\GPEN_GFPGAN_CodeFormer\_internal\Python37\lib\site-packages\torch\nn\modules\module.py", line 530, in _apply
module._apply(fn)
File "D:\GPEN_GFPGAN_CodeFormer\_internal\Python37\lib\site-packages\torch\nn\modules\module.py", line 552, in _apply
param_applied = fn(param)
File "D:\GPEN_GFPGAN_CodeFormer\_internal\Python37\lib\site-packages\torch\nn\modules\module.py", line 850, in convert
return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
File "D:\GPEN_GFPGAN_CodeFormer\_internal\Python37\lib\site-packages\torch\cuda\__init__.py", line 172, in _lazy_init
torch._C._cuda_init()
RuntimeError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx |
|