Faceswaplab Failed to be loaded on SD.Next #204
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Tried to install Faceswaplab on SD.Next UI, but it failed to load on my PC. However last month I successfully installed on another PC. This time it failed. I am running latest SD.Next clone with RTX3060 graphic card on Python 3.12.9.
Tried on ForgeUI and Automatic1111 all failed to load as well. Not sure if this issue is related to the following issue?
#197
I was originally wrong because the venv is something I'm not used to.
The version of albumentations I had in venv was 2.0.5 or something. This was said to be not stable. It was recommended I downgrade to 1.4.3.
pip install "albumentations==1.4.3"Although for full disclosure I will state I hadn't
source venv/bin/activateand didn't realize I was on pydantic<2. So I actually upgraded it to >2 with albumentations==1.4.3. I then backed pydantic back down to the original version. But the main change was albumentations==1.4.3.The problem you mentioned I think is due to different gradio versions.
python: 3.10.16 • torch: 2.1.2+cu121 • xformers: 0.0.23.post1 • gradio: 3.41.2is what my footer reports and this version seems to work. At the very least it loads and doesn't produce any breaking errors. I still need to figure out how to use it.
Additionally, this will fix using this in the inpainting tab:
stable-diffusion-webui/extensions/sd-webui-faceswaplab/scripts/faceswaplab_utils/imgutils.pyRemove existing line 24 and replace with this. Watch the indentation.