ArtVentureX / sd-webui-agent-scheduler

605 stars 61 forks source link

Skip controlnet deserialization and log error if failed #198

Closed aria1th closed 6 months ago

aria1th commented 6 months ago

Some weirdness is happening for some users, such as https://github.com/ArtVentureX/sd-webui-agent-scheduler/issues/192 seems to be remaining regardless of controlnet / agent scheduler / webui version.

image

The inspected image contained impossible enum value, and was causing Controlnet UI to fail to select options.

image

As a result, user may get queue crashed and unrecovered.

This is a temporary patch to log why this behavior is happening, and skip deserialization if problem happened.