Closed Ineman closed 1 month ago
ADetailer가 신뢰도 숫자가 낮은 얼굴을 수정하는 이유는 mediapipe_predict
함수에서 사용되는 confidence
매개변수 때문일 가능성이 큽니다. 기본값이 0.3으로 설정되어 있어, 신뢰도 점수가 0.3 이하인 얼굴만 수정됩니다. 이를 해결하려면 confidence
값을 더 높은 값으로 조정해 보세요. 예를 들어, confidence
를 0.7로 설정하면 신뢰도 점수가 0.7 이하인 얼굴도 수정됩니다.
다음은 관련 코드 스니펫입니다:
def mediapipe_predict(
model_type: str, image: Image.Image, confidence: float = 0.3
) -> PredictOutput:
...
이 설정을 조정하려면 다음과 같이 confidence
값을 변경하세요:
mediapipe_predict(model_type="mediapipe_face_full", image=your_image, confidence=0.7)
이렇게 하면 신뢰도 점수가 높은 얼굴도 수정 대상에 포함됩니다 [1][2].
To continue talking to Dosu, mention @dosu.
특정 부분만 인페인팅을 적용하고 싶으신 경우, 저는 adetailer를 끄고 이미지를 img2img탭으로 보내서 직접 영역을 지정하길 권해드립니다.
원래 adetailer의 기능 자체가, 첫번째로 수정될 얼굴을 고르는 기준이 저 인식점수가 아닌건가요?
Describe the bug
adetailer가 신뢰도 숫자가 낮은 얼굴을 수정합니다. 확장에 오류가 있는건지, 아니면 옵션을 어떻게 수정해야 하는건지 도저히 모르겠어서 글을 남깁니다. 수정하고 싶은 얼굴이 항상 신뢰도 숫자가 적게 나오면 SEP라도 쓰겠는데, 신뢰도 숫자가 높아도 수정을 안하니 미칠것 같습니다 도와주세요.
Steps to reproduce
t2i에서 hires fix 사용. 확장은 tiled vae와 adetailer 사용 1.10.0 RC버전
Screenshots
Console logs, from start to end.
List of installed extensions
https://github.com/DominikDoom/a1111-sd-webui-tagcomplete https://github.com/pkuliyi2015/multidiffusion-upscaler-for-automatic1111 https://github.com/Bing-su/adetailer https://github.com/adieyal/sd-dynamic-prompts https://github.com/hako-mikan/sd-webui-regional-prompter