|
发表于 2023-4-12 15:01:39
|
显示全部楼层
Face detection model: retinaface_resnet50
Background upsampling: False, Face upsampling: False
Traceback (most recent call last):
File "inference_codeformer.py", line 240, in <module>
face_helper.read_image(img)
File "F:\SMRZ\GPEN\GPEN_GFPGAN_CodeFormer\CodeFormer\facelib\utils\face_restoration_helper.py", line 120, in read_image
if np.max(img) > 256: # 16-bit image
TypeError: '>' not supported between instances of 'NoneType' and 'int' |
|