Mikubill / sd-webui-controlnet

WebUI extension for ControlNet
GNU General Public License v3.0
17.11k stars 1.97k forks source link

Update depth_anythingV2 #2956

Closed sdbds closed 5 months ago

sdbds commented 5 months ago

replace model to new V2 path https://huggingface.co/depth-anything/Depth-Anything-V2-Large

sdbds commented 5 months ago

image

I tested it but the jaggies are noticeable, it's best to update the code in the python package just to be on the safe side (although the code doesn't seem to have changed much when I checked it) @huchenlei

sdbds commented 5 months ago

image OK,they change dino model,too

huchenlei commented 5 months ago

image OK,they change dino model,too

I don't think that dino model change is the cause. The commit happens on Jan 15th before I fork the repo on Jan 22nd.

kagevazquez commented 5 months ago

The output from this is really pixilated when used as a drop in replacement tmp52e31x2g tmpe9b3aee6

maybe this is what changed https://github.com/LiheYoung/Depth-Anything/issues/81

MackinationsAi commented 5 months ago

I have update the sd-webui-controlnet repo to support depth_anything_v2 in this forked branch if you approve the pull request I'm about to submit. Forked Repo - https://github.com/MackinationsAi/sd-webui-controlnet Pull Request - https://github.com/Mikubill/sd-webui-controlnet/pull/2969

sdbds commented 5 months ago

I have update the sd-webui-controlnet repo to support depth_anything_v2 in this forked branch if you approve the pull request I'm about to submit. Forked Repo - https://github.com/MackinationsAi/sd-webui-controlnet

Thanks for your contribution, I will review as well as test it as soon as possible.

MackinationsAi commented 5 months ago

I have update the sd-webui-controlnet repo to support depth_anything_v2 in this forked branch if you approve the pull request I'm about to submit. Forked Repo - https://github.com/MackinationsAi/sd-webui-controlnet

Thanks for your contribution, I will review as well as test it as soon as possible.

I still need to upload the new hf depth_anything_v2 transformers (which I will be doing next). I have tested it locally on my machine & it works really well!