mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-05-29 02:17:52 +08:00
Apply some PR comments.
This commit is contained in:
parent
ccdc6517fd
commit
102704f9fb
@ -31,6 +31,7 @@ import torch
|
|||||||
|
|
||||||
import comfy.model_management as mm
|
import comfy.model_management as mm
|
||||||
import comfy.sd
|
import comfy.sd
|
||||||
|
from comfy_extras.nodes_moge import MoGeGeometry
|
||||||
import folder_paths
|
import folder_paths
|
||||||
from comfy.ldm.depth_anything_3 import preprocess as da3_preprocess
|
from comfy.ldm.depth_anything_3 import preprocess as da3_preprocess
|
||||||
from comfy_api.latest import ComfyExtension, io
|
from comfy_api.latest import ComfyExtension, io
|
||||||
@ -174,8 +175,10 @@ class DepthAnything3(io.ComfyNode):
|
|||||||
def define_schema(cls):
|
def define_schema(cls):
|
||||||
return io.Schema(
|
return io.Schema(
|
||||||
node_id="DepthAnything3",
|
node_id="DepthAnything3",
|
||||||
display_name="Depth Anything 3",
|
search_aliases=["depth", "geometry", "da3", "depth anything", "monocular", "pointmap", "sky", "3d", "metric depth", "disparity"],
|
||||||
category="image/depth",
|
display_name="Run Depth Anything 3",
|
||||||
|
category="image/geometry_estimation",
|
||||||
|
description="Run Depth Anything 3 on an image or image batch. In multi-view mode each frame is treated as a separate view of the same scene.",
|
||||||
inputs=[
|
inputs=[
|
||||||
io.Model.Input("model"),
|
io.Model.Input("model"),
|
||||||
io.Image.Input("image",
|
io.Image.Input("image",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user