Update README.md
Browse files
README.md
CHANGED
@@ -17,14 +17,14 @@ If you want to use it in ComfyUI, you can use Kijai's custom nodes (https://gith
|
|
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 |
---
|
|
|
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 |
---
|