JARVIS
JARVIS copied to clipboard
The controlnet_aux.hed dependency has been updated! The Network class is no longer available. I changed Network to ControlNetHED_Apache2 to adapt to the new version.
Grateful for your work! As mentioned in https://github.com/microsoft/JARVIS/issues/233, running from controlnet_aux.hed import Network now raises an error. This is because starting from controlnet_aux version 0.06, the controlnet_aux/hed file has undergone changes.
To address this, I referred to the code provided in https://github.com/huggingface/controlnet_aux/issues/66 and made modifications to the original code accordingly. It's worth noting that the network-bsds500.pth model has also been replaced with ControlNetHED.pth, which can be downloaded from https://huggingface.co/lllyasviel/Annotators.