Commit
Β·
d35072c
1
Parent(s):
ae06e9d
update
Browse files- app.py +3 -3
- examples/room/images/{no_overlap_2.HEIC.JPG β no_overlap_2.jpg} +2 -2
- examples/room/images/{no_overlap_3.HEIC.JPG β no_overlap_3.jpg} +2 -2
- examples/room/images/{no_overlap_4.HEIC.JPG β no_overlap_4.jpg} +2 -2
- examples/room/images/{no_overlap_5.HEIC.JPG β no_overlap_5.jpg} +2 -2
- examples/room/images/no_overlap_6.HEIC.JPG +0 -3
- examples/room/images/no_overlap_6.jpg +3 -0
- examples/room/images/no_overlap_7.HEIC.JPG +0 -3
- examples/room/images/no_overlap_7.jpg +3 -0
- examples/room/images/no_overlap_8.HEIC.JPG +0 -3
- examples/room/images/no_overlap_8.jpg +3 -0
- examples/single/images/model_was_never_trained_on_single_image.jpg +3 -0
- examples/videos/single.mp4 +3 -0
- gradio_util.py +5 -0
app.py
CHANGED
@@ -256,15 +256,15 @@ with gr.Blocks(css="""
|
|
256 |
# ποΈ VGGT: Visual Geometry Grounded Transformer
|
257 |
|
258 |
<div style="font-size: 16px; line-height: 1.5;">
|
259 |
-
<p><strong>Alpha version</strong> (under active
|
260 |
|
261 |
<p>Upload a video or images to create a 3D reconstruction. Once your media appears in the left panel, click the "Reconstruct" button to begin processing.</p>
|
262 |
|
263 |
<h3>Usage Tips:</h3>
|
264 |
<ol>
|
265 |
-
<li>After reconstruction, you can
|
266 |
<li>Performance note: While the model itself processes quickly (~0.2 seconds), initial setup and visualization may take longer. First-time use requires downloading model weights, and rendering dense point clouds can be resource-intensive.</li>
|
267 |
-
<li>Known limitation: The model currently exhibits
|
268 |
</ol>
|
269 |
</div>
|
270 |
""")
|
|
|
256 |
# ποΈ VGGT: Visual Geometry Grounded Transformer
|
257 |
|
258 |
<div style="font-size: 16px; line-height: 1.5;">
|
259 |
+
<p><strong>Alpha version</strong> (under active change)</p>
|
260 |
|
261 |
<p>Upload a video or images to create a 3D reconstruction. Once your media appears in the left panel, click the "Reconstruct" button to begin processing.</p>
|
262 |
|
263 |
<h3>Usage Tips:</h3>
|
264 |
<ol>
|
265 |
+
<li>After reconstruction, you can adjust the visualization by adjusting the confidence threshold, selecting specific frames to display, and so on.</li>
|
266 |
<li>Performance note: While the model itself processes quickly (~0.2 seconds), initial setup and visualization may take longer. First-time use requires downloading model weights, and rendering dense point clouds can be resource-intensive.</li>
|
267 |
+
<li>Known limitation: The model currently exhibits weird behavior with videos centered around human subjects. This issue is being addressed in upcoming updates.</li>
|
268 |
</ol>
|
269 |
</div>
|
270 |
""")
|
examples/room/images/{no_overlap_2.HEIC.JPG β no_overlap_2.jpg}
RENAMED
File without changes
|
examples/room/images/{no_overlap_3.HEIC.JPG β no_overlap_3.jpg}
RENAMED
File without changes
|
examples/room/images/{no_overlap_4.HEIC.JPG β no_overlap_4.jpg}
RENAMED
File without changes
|
examples/room/images/{no_overlap_5.HEIC.JPG β no_overlap_5.jpg}
RENAMED
File without changes
|
examples/room/images/no_overlap_6.HEIC.JPG
DELETED
Git LFS Details
|
examples/room/images/no_overlap_6.jpg
ADDED
![]() |
Git LFS Details
|
examples/room/images/no_overlap_7.HEIC.JPG
DELETED
Git LFS Details
|
examples/room/images/no_overlap_7.jpg
ADDED
![]() |
Git LFS Details
|
examples/room/images/no_overlap_8.HEIC.JPG
DELETED
Git LFS Details
|
examples/room/images/no_overlap_8.jpg
ADDED
![]() |
Git LFS Details
|
examples/single/images/model_was_never_trained_on_single_image.jpg
ADDED
![]() |
Git LFS Details
|
examples/videos/single.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f7d5b07fbceb13043c4e8350d685150fd92bc6efec9ff959cef3aa11cf69f86e
|
3 |
+
size 909011
|
gradio_util.py
CHANGED
@@ -108,6 +108,11 @@ def demo_predictions_to_glb(predictions, conf_thres=3.0, filter_by_frames="all",
|
|
108 |
colors_rgb = colors_rgb[conf_mask]
|
109 |
|
110 |
|
|
|
|
|
|
|
|
|
|
|
111 |
|
112 |
if vertices_3d is None or np.asarray(vertices_3d).size == 0:
|
113 |
vertices_3d = np.array([[1, 0, 0]])
|
|
|
108 |
colors_rgb = colors_rgb[conf_mask]
|
109 |
|
110 |
|
111 |
+
|
112 |
+
# resize_scale = 0.25
|
113 |
+
# vertices_3d = vertices_3d * resize_scale
|
114 |
+
# camera_matrices[:, :3, 3] = camera_matrices[:, :3, 3] * resize_scale
|
115 |
+
|
116 |
|
117 |
if vertices_3d is None or np.asarray(vertices_3d).size == 0:
|
118 |
vertices_3d = np.array([[1, 0, 0]])
|