Skip to content

Commit

Permalink
feat(transformers): Add depth estimation pipe
Browse files Browse the repository at this point in the history
  • Loading branch information
wcrzlh committed Jan 21, 2025
1 parent 8bdd521 commit 3b5e316
Show file tree
Hide file tree
Showing 6 changed files with 602 additions and 2 deletions.
1 change: 1 addition & 0 deletions mindone/transformers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
CLIPVisionModel,
CLIPVisionModelWithProjection,
)
from .models.depth_anything import DepthAnythingForDepthEstimation
from .models.dpt import DPTForDepthEstimation
from .models.gemma import (
GemmaForCausalLM,
Expand Down
2 changes: 1 addition & 1 deletion mindone/transformers/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
from . import bert, bit, blip_2, clip, dpt, gemma, t5, timesformer, vit, xlm_roberta
from . import bert, bit, blip_2, clip, depth_anything, dpt, gemma, t5, timesformer, vit, xlm_roberta
1 change: 1 addition & 0 deletions mindone/transformers/models/depth_anything/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from .modeling_depth_anything import DepthAnythingForDepthEstimation
Loading

0 comments on commit 3b5e316

Please sign in to comment.