Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Q&A #304

Open
Lixi20 opened this issue Jun 25, 2024 · 0 comments
Open

Q&A #304

Lixi20 opened this issue Jun 25, 2024 · 0 comments

Comments

@Lixi20
Copy link

Lixi20 commented Jun 25, 2024

Q1:

*** Error running postprocess_image: D:\sd-webui-aki\sd-webui-aki-v4.7\extensions\sd-webui-roop\scripts\faceswap.py
    Traceback (most recent call last):
      File "D:\sd-webui-aki\sd-webui-aki-v4.7\modules\scripts.py", line 856, in postprocess_image
        script.postprocess_image(p, pp, *script_args)
      File "D:\sd-webui-aki\sd-webui-aki-v4.7\extensions\sd-webui-roop\scripts\faceswap.py", line 184, in postprocess_image
        result: ImageResult = swap_face(
      File "D:\sd-webui-aki\sd-webui-aki-v4.7\extensions\sd-webui-roop\scripts\swapper.py", line 132, in swap_face
        result = face_swapper.get(result, target_face, source_face)
    AttributeError: 'NoneType' object has no attribute 'get'

A1:
wget https://github.com/facefusion/facefusion-assets/releases/download/models/inswapper_128.onnx

mv inswapper_128.onnx {sd-web-ui}\models\roop

Q2:
Downloading the detection model to /home/rdteam/.ifnude/detector.onnx

A2:
you need install detector.onnx and classes

wget https://huggingface.co/s0md3v/nudity-checker/blob/main/detector.onnx

wget https://huggingface.co/s0md3v/nudity-checker/blob/main/classes

mv detector.onnx C:\Users\Administrator\.ifnude

mv classes C:\Users\Administrator\.ifnude

Q3:
Downloading buffalo_l.zip

A3:
wget https://github.com/deepinsight/insightface/releases/download/v0.7/buffalo_l.zip

mv buffalo_l.zip C:\Users\Administrator\.insightface\models

Then you need to unzip buffalo_l.zip


Q2 and Q3,The model must be placed in the corresponding directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant