Update README.md
Browse files
README.md
CHANGED
|
@@ -12,6 +12,17 @@ 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 |
---
|
| 16 |
license: apache-2.0
|
| 17 |
---
|
|
|
|
| 12 |
|
| 13 |
This is simply the same available model in .safetensors format.
|
| 14 |
|
| 15 |
+
If you want to use it in ComfyUI, you have two options:
|
| 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 |
---
|
| 27 |
license: apache-2.0
|
| 28 |
---
|