sd-face-editor: ModuleNotFoundError: No module named 'scripts.io'
*** Error running install.py for extension M:\SD\sdwebui\extensions\sd-face-editor.
*** Command: “M:\SD\sdwebui\py310\python.exe” “M:\SD\sdwebui\extensions\sd-face-editor\install.py”
*** Error code: 1
*** stderr: A matching Triton is not available, some optimizations will not be enabled.
*** Error caught was: No module named ‘triton’
*** M:\SD\sdwebui\py310\lib\site-packages\pytorch_lightning\utilities\distributed.py:258: LightningDeprecationWarning: pytorch_lightning.utilities.distributed.rank_zero_only
has been deprecated in v1.8.1 and will be removed in v2.0.0. You can import it from pytorch_lightning.utilities
instead.
*** rank_zero_deprecation(
*** ┌───────────────────── Traceback (most recent call last) ─────────────────────┐
*** │ M:\SD\sdwebui\extensions\sd-face-editor\install.py:3 in <module> │
*** │ │
*** │ 1 from modules import shared │
*** │ 2 │
*** │ > 3 from scripts.io.util import load_classes_from_directory │
*** │ 4 from scripts.use_cases.installer import Installer │
*** │ 5 │
*** │ 6 for component in shared.opts.data.get("face_editor_additional_componen │
*** └─────────────────────────────────────────────────────────────────────────────┘
*** ModuleNotFoundError: No module named ‘scripts.io’
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 27 (10 by maintainers)
Hope your plug-in is getting better and better, thank you for your efforts!
These 3 file replacements can only solve the BUG of the download file error, but cannot solve the BUG problem of the title of my article.
Download the following 3 files and put them in this SD\models\GFPGAN folder
1、parsing_bisenet.pth parsing_bisenet.pth: https://github.com/xinntao/facexlib/releases/download/v0.2.2/parsing_parsenet.pth
2、detection_Resnet50_Final.pth (https://github.com/xinntao/facexlib/releases/download/v0.1.0/detection_Resnet50_Final.pth)
3、GFPGANv1.4.pth https://github.com/TencentARC/GFPGAN/releases/download/v1.3.0/GFPGANv1.4.pth
https://github.com/TencentARC/GFPGAN