Update README.md
Browse filesRemove previous instructions for running in ComfyUI. Since Kijai added support for the giant model, no modifications are needed.
README.md
CHANGED
|
@@ -12,15 +12,19 @@ A copy of the original .pth model is available in this Hugging Face repo: https:
|
|
| 12 |
|
| 13 |
This is simply the same available model in .safetensors format.
|
| 14 |
|
| 15 |
-
If you want to use it in ComfyUI, you
|
| 16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
|
| 18 |
1. (Recommended) Use the .safetensors file with the modified version of Kijai's custom nodes (https://github.com/kijai/ComfyUI-DepthAnythingV2). Just replace the ComfyUI/custom_nodes/comfyui-depthanythingv2/nodes.py file with the nodes.py file in this repo and ensure depth_anything_v2_vitg_fp32.safetensors is in the ComfyUI/models/depthanything/ folder, as it will not be downloaded automatically.
|
| 19 |
|
| 20 |
2. Use depth_anything_v2_vitg.pth directly with Fannovel16's custom nodes (https://github.com/Fannovel16/comfyui_controlnet_aux). Use a node called Depth Anything V2 - Relative and select depth_anything_v2_vitg.pth. Ensure the file is in the folder ComfyUI/custom_nodes/comfyui_controlnet_aux/ckpts/depth-anything/Depth-Anything-V2-Giant/ folder, as it will not be downloaded automatically.
|
| 21 |
|
| 22 |
|
| 23 |
-
Kijai's nodes produce more detailed depth maps. However, you will likely get OOM using the gigant model depending on your VRAM and the size of the image you're processing. I can get 1024x1024 depth maps just fine with 24GB VRAM
|
| 24 |
|
| 25 |
|
| 26 |
---
|
|
|
|
| 12 |
|
| 13 |
This is simply the same available model in .safetensors format.
|
| 14 |
|
| 15 |
+
If you want to use it in ComfyUI, you can use Kijai's custom nodes (https://github.com/kijai/ComfyUI-DepthAnythingV2), select the model and it will be downloaded automatically.
|
| 16 |
|
| 17 |
+
You may get OOM using the gigant model depending on your VRAM and the size of the image you're processing. In these cases, try to reduce the input image size. I can get 1024x1024 depth maps just fine with 24GB VRAM (uses about 56% of available VRAM).
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
~~If you want to use it in ComfyUI, you have two options:
|
| 21 |
|
| 22 |
1. (Recommended) Use the .safetensors file with the modified version of Kijai's custom nodes (https://github.com/kijai/ComfyUI-DepthAnythingV2). Just replace the ComfyUI/custom_nodes/comfyui-depthanythingv2/nodes.py file with the nodes.py file in this repo and ensure depth_anything_v2_vitg_fp32.safetensors is in the ComfyUI/models/depthanything/ folder, as it will not be downloaded automatically.
|
| 23 |
|
| 24 |
2. Use depth_anything_v2_vitg.pth directly with Fannovel16's custom nodes (https://github.com/Fannovel16/comfyui_controlnet_aux). Use a node called Depth Anything V2 - Relative and select depth_anything_v2_vitg.pth. Ensure the file is in the folder ComfyUI/custom_nodes/comfyui_controlnet_aux/ckpts/depth-anything/Depth-Anything-V2-Giant/ folder, as it will not be downloaded automatically.
|
| 25 |
|
| 26 |
|
| 27 |
+
Kijai's nodes produce more detailed depth maps. However, you will likely get OOM using the gigant model depending on your VRAM and the size of the image you're processing. I can get 1024x1024 depth maps just fine with 24GB VRAM.~~
|
| 28 |
|
| 29 |
|
| 30 |
---
|