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

[question] module(None) not found in supported modules. (type=value_error).Virtual Try On Use error.虚拟换衣使用出错 #428

Open
zzz12345zzz opened this issue Jun 9, 2024 · 5 comments

Comments

@zzz12345zzz
Copy link

Virtual Try On Use error.虚拟换衣使用出错

sp240609_181731 sp240609_182941

Loading VAE weights specified in settings: F:\sd-webui-aki-v4.8\sd-webui-aki-v4.8\models\VAE\vae-ft-mse-840000-ema-pruned.ckpt
Applying attention optimization: xformers... done.
VAE weights loaded.
Loading weights [eed0bdfc49] from F:\sd-webui-aki-v4.8\sd-webui-aki-v4.8\models\Stable-diffusion\epicPhotonism_v10.safetensors
2024-06-09 18:20:23,870 - EasyPhoto - user_ids: ['demo_black_200', 'demo_black_200_mask', 'demo_dress_200', 'demo_dress_200_mask', 'demo_purple_200', 'demo_purple_200_mask', 'demo_short_200', 'demo_short_200_mask', 'demo_white_200', 'demo_white_200_mask', 'TT_200']
2024-06-09 18:20:23,870 - EasyPhoto - cloth user id: demo_black_200
2024-06-09 18:20:23,871 - EasyPhoto - LoRA of user id: demo_black_200 exists. Start Infer.
2024-06-09 18:20:23,871 - EasyPhoto - input_prompt: easyphoto, 1thing, lora:demo_black_200:0.8masterpiece, beauty
2024-06-09 18:20:23,933 - EasyPhoto - Start optimize angle and ratio!
2024-06-09 18:20:23,938 - EasyPhoto - target rotation: 1 to 0: 0, 2 to 0: -0.0, final_rotate: -0.0
Iteration limit reached (Exit mode 9)
Current function value: -0.7413598780662288
Iterations: 100
Function evaluations: 1091
Gradient evaluations: 97
2024-06-09 18:20:24,476 - EasyPhoto - Set angle:0.2259074870789645, ratio: 1.1850609915140937, azimuth: 0
Merge img1, img2! Mask IoU: 0.6897414635590962
align_and_overlay_images time: 0.037000179290771484 s
2024-06-09 18:20:24,542 - EasyPhoto - Start First diffusion.
Cleanup completed.
Restoring base VAE
Applying attention optimization: xformers... done.
VAE weights loaded.
Traceback (most recent call last):
File "F:\sd-webui-aki-v4.8\sd-webui-aki-v4.8\python\lib\site-packages\gradio\routes.py", line 488, in run_predict
output = await app.get_blocks().process_api(
File "F:\sd-webui-aki-v4.8\sd-webui-aki-v4.8\python\lib\site-packages\gradio\blocks.py", line 1431, in process_api
result = await self.call_function(
File "F:\sd-webui-aki-v4.8\sd-webui-aki-v4.8\python\lib\site-packages\gradio\blocks.py", line 1103, in call_function
prediction = await anyio.to_thread.run_sync(
File "F:\sd-webui-aki-v4.8\sd-webui-aki-v4.8\python\lib\site-packages\anyio\to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "F:\sd-webui-aki-v4.8\sd-webui-aki-v4.8\python\lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "F:\sd-webui-aki-v4.8\sd-webui-aki-v4.8\python\lib\site-packages\anyio_backends_asyncio.py", line 867, in run
result = context.run(func, *args)
File "F:\sd-webui-aki-v4.8\sd-webui-aki-v4.8\python\lib\site-packages\gradio\utils.py", line 707, in wrapper
response = f(*args, **kwargs)
File "F:\sd-webui-aki-v4.8\sd-webui-aki-v4.8\python\lib\contextlib.py", line 79, in inner
return func(*args, **kwds)
File "F:\sd-webui-aki-v4.8\sd-webui-aki-v4.8\python\lib\contextlib.py", line 79, in inner
return func(*args, **kwds)
File "F:\sd-webui-aki-v4.8\sd-webui-aki-v4.8\extensions\sd-webui-EasyPhoto\scripts\easyphoto_tryon_infer.py", line 496, in easyphoto_tryon_infer_forward
result_img = inpaint(
File "F:\sd-webui-aki-v4.8\sd-webui-aki-v4.8\extensions\sd-webui-EasyPhoto\scripts\easyphoto_infer.py", line 388, in inpaint
image = i2i_inpaint_call(
File "F:\sd-webui-aki-v4.8\sd-webui-aki-v4.8\python\lib\contextlib.py", line 79, in inner
return func(*args, **kwds)
File "F:\sd-webui-aki-v4.8\sd-webui-aki-v4.8\extensions\sd-webui-EasyPhoto\scripts\sdwebui.py", line 602, in i2i_inpaint_call
controlnet_units = [external_code.ControlNetUnit(**controlnet_unit) for controlnet_unit in controlnet_units]
File "F:\sd-webui-aki-v4.8\sd-webui-aki-v4.8\extensions\sd-webui-EasyPhoto\scripts\sdwebui.py", line 602, in
controlnet_units = [external_code.ControlNetUnit(**controlnet_unit) for controlnet_unit in controlnet_units]
File "pydantic\main.py", line 341, in pydantic.main.BaseModel.init
pydantic.error_wrappers.ValidationError: 1 validation error for ControlNetUnit
module
module(None) not found in supported modules. (type=value_error)

@hkunzhe
Copy link
Collaborator

hkunzhe commented Jun 21, 2024

cc @zouxinyi0625

@yankai-victor
Copy link

Same problem to me. Here is my controlnet version :

sd-webui-controlnet https://github.com/Mikubill/sd-webui-controlnet.git main 8bbbd0e5

@wolfhaohao
Copy link

大哥,解决了吗?我也是这个情况。

@yankai-victor
Copy link

update the latest version. It's ok for me.

@wolfhaohao
Copy link

wolfhaohao commented Jul 18, 2024 via email

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

4 participants