File size: 4,566 Bytes
b7c52dd
 
 
 
ead4c3a
14cbe5b
 
 
f987eb3
 
b7c52dd
 
 
 
 
 
 
 
 
 
 
f987eb3
 
b7c52dd
 
 
14cbe5b
b7c52dd
 
 
 
f987eb3
 
 
b7c52dd
b5b699c
 
 
 
 
 
 
 
039f666
 
b5b699c
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
license: mit
tags:
- comfyui
- diffusion-single-file
base_model:
- Ruicheng/moge-vitl
- Ruicheng/moge-2-vitl
- Ruicheng/moge-3-vitg
- Ruicheng/moge-3-vitl
---

# MoGe: Accurate Monocular Geometry Estimation

Repackaged model files for ComfyUI.

Original model repository:

- https://github.com/microsoft/moge
- https://huggingface.co/Ruicheng/moge-vitl
- https://huggingface.co/Ruicheng/moge-2-vitl
- https://huggingface.co/Ruicheng/moge-3-vitg
- https://huggingface.co/Ruicheng/moge-3-vitl

Place the files in the following folders:

```
πŸ“‚ ComfyUI/
β”œβ”€β”€ πŸ“‚ models/
β”‚   β”œβ”€β”€ πŸ“‚ geometry_estimation/
β”‚   β”‚   β”œβ”€β”€ moge_1_vitl_fp16.safetensors
β”‚   β”‚   β”œβ”€β”€ moge_2_vitl_normal_fp16.safetensors
β”‚   β”‚   β”œβ”€β”€ moge_3_vitg_fp16.safetensors
β”‚   β”‚   └── moge_3_vitl_fp16.safetensors
```

## Workflows

<table>
<thead>
<tr><th align="center" valign="middle" style="text-align:center;vertical-align:middle">Workflow</th><th colspan="2" align="center" valign="middle" style="text-align:center;vertical-align:middle">Thumb</th></tr>
</thead>
<tbody>
<tr><td align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/3d_moge_perspective_to_mesh.json">MoGe: Perspective Geometry Estimation</a></td><td colspan="2" align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/3d_moge_perspective_to_mesh.json"><img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/3d_moge_perspective_to_mesh-1.webp" width="200" height="200" alt="MoGe: Perspective Geometry Estimation"></a></td></tr>
<tr><td align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/3d_moge_panorama_to_mesh.json">Moge: Panorama to Mesh</a></td><td colspan="2" align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/3d_moge_panorama_to_mesh.json"><img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/3d_moge_panorama_to_mesh-1.webp" width="200" height="200" alt="Moge: Panorama to Mesh"></a></td></tr>
<tr><td align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/utility_moge_depth_estimation.json">Depth Estimation: MoGe</a></td><td align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/utility_moge_depth_estimation.json"><img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/utility_moge_depth_estimation-2.webp" width="200" height="200" alt="Depth Estimation: MoGe"></a><div align="center">Before</div></td><td align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/utility_moge_depth_estimation.json"><img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/utility_moge_depth_estimation-1.webp" width="200" height="200" alt="Depth Estimation: MoGe"></a><div align="center">After</div></td></tr>
<tr><td align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/utility_moge3_geometry_estimation.json">Geometry Estimation: MoGe 3</a></td><td align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/utility_moge3_geometry_estimation.json"><img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/utility_moge3_geometry_estimation-2.webp" width="200" height="200" alt="Geometry Estimation: MoGe 3"></a><div align="center">Before</div></td><td align="center" valign="middle" style="text-align:center;vertical-align:middle"><a href="https://github.com/Comfy-Org/workflow_templates/blob/main/templates/utility_moge3_geometry_estimation.json"><img src="https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/utility_moge3_geometry_estimation-1.webp" width="200" height="200" alt="Geometry Estimation: MoGe 3"></a><div align="center">After</div></td></tr>
</tbody>
</table>