Stable Diffusion uses "face repair" to report TypeError: 'NoneType' object is not subscriptable error

question

Stable Diffusion uses "face repair" to report TypeError: 'NoneType' object is not subscriptable error
insert image description here

solution

Download [detection_Resnet50_Final.pth] and [parsing_parsenet.pth] to the [repositories\CodeFormer\weights\facelib] directory, and re-run the project.
https://github.com/xinntao/facexlib/releases/download/v0.1.0/detection_Resnet50_Final.pth
https://github.com/xinntao/facexlib/releases/download/v0.2.2/parsing_parsenet.pth

Note: The above two files can be cloned directly in the folder of your own server, but it may be very slow. It is recommended to upload the files to the [repositories of the server sd project through tools such as xftp after downloading locally. \CodeFormer\weights\facelib] directory
insert image description here

Guess you like

Origin blog.csdn.net/qq_40600379/article/details/131368064