Fix node loading from geometry_estimation folder.
Some checks failed
Python Linting / Run Ruff (push) Has been cancelled
Python Linting / Run Pylint (push) Has been cancelled
Build package / Build Test (3.10) (push) Has been cancelled
Build package / Build Test (3.11) (push) Has been cancelled
Build package / Build Test (3.12) (push) Has been cancelled
Build package / Build Test (3.13) (push) Has been cancelled
Build package / Build Test (3.14) (push) Has been cancelled

This commit is contained in:
Talmaj Marinc 2026-05-19 21:41:53 +02:00
parent 8259f865a4
commit 9a649462e1

View File

@ -3,8 +3,7 @@
Adds these nodes: Adds these nodes:
* ``LoadDepthAnything3`` -- load a DA3 ``.safetensors`` file from the * ``LoadDepthAnything3`` -- load a DA3 ``.safetensors`` file from the
``models/depth_estimation/`` folder. Falls back to ``models/diffusion_models/`` ``models/geometry_estimation/`` folder.
so existing installations keep working.
* ``DepthAnything3`` -- unified depth estimation node supporting both mono and * ``DepthAnything3`` -- unified depth estimation node supporting both mono and
multi-view modes via a DynamicCombo selector. In mono mode, returns a multi-view modes via a DynamicCombo selector. In mono mode, returns a
normalised depth image plus sky/confidence masks. In multi-view mode, normalised depth image plus sky/confidence masks. In multi-view mode,
@ -43,11 +42,11 @@ class LoadDepthAnything3(io.ComfyNode):
return io.Schema( return io.Schema(
node_id="LoadDepthAnything3", node_id="LoadDepthAnything3",
display_name="Load Depth Anything 3", display_name="Load Depth Anything 3",
category="loaders/depth_estimation", category="loaders/geometry_estimation",
inputs=[ inputs=[
io.Combo.Input( io.Combo.Input(
"model_name", "model_name",
options=folder_paths.get_filename_list("depth_estimation"), options=folder_paths.get_filename_list("geometry_estimation"),
), ),
io.Combo.Input( io.Combo.Input(
"weight_dtype", "weight_dtype",