stable-diffusion icon indicating copy to clipboard operation
stable-diffusion copied to clipboard

Code for inpainting not consistent

Open Question406 opened this issue 3 years ago • 0 comments

Hi, I believe the code for inpainting is not consistent between this repo / Huggingface Space / Hugginface Pipeline. And particularly, what confuses me most is the difference between image preprocessing pipelines.

Can anybody explain to me why inpaint_st.py does not contain any mysterious constant 0.18215 in it, while both Huggingface Pipeline code and Huggingface have it? I attached the code below. Thanks a lot.

image image

Question406 avatar Nov 10 '22 02:11 Question406