Spaces:
Paused
Paused
Commit
·
6293410
1
Parent(s):
6d27045
update
Browse files- app.py +1 -2
- vggsfm_code/vggsfm/models/triangulator.py +0 -1
app.py
CHANGED
|
@@ -230,7 +230,6 @@ flower_video = "vggsfm_code/examples/videos/llff_flower_video.mp4"
|
|
| 230 |
|
| 231 |
fern_video = "vggsfm_code/examples/videos/llff_fern_video.mp4"
|
| 232 |
|
| 233 |
-
|
| 234 |
drums_video = "vggsfm_code/examples/videos/drums_video.mp4"
|
| 235 |
|
| 236 |
kitchen_video = "vggsfm_code/examples/videos/kitchen_video.mp4"
|
|
@@ -336,7 +335,7 @@ with gr.Blocks() as demo:
|
|
| 336 |
outputs=[reconstruction_output, log_output], # Provide outputs
|
| 337 |
fn=vggsfm_demo, # Provide the function
|
| 338 |
cache_examples=True,
|
| 339 |
-
examples_per_page=
|
| 340 |
)
|
| 341 |
|
| 342 |
|
|
|
|
| 230 |
|
| 231 |
fern_video = "vggsfm_code/examples/videos/llff_fern_video.mp4"
|
| 232 |
|
|
|
|
| 233 |
drums_video = "vggsfm_code/examples/videos/drums_video.mp4"
|
| 234 |
|
| 235 |
kitchen_video = "vggsfm_code/examples/videos/kitchen_video.mp4"
|
|
|
|
| 335 |
outputs=[reconstruction_output, log_output], # Provide outputs
|
| 336 |
fn=vggsfm_demo, # Provide the function
|
| 337 |
cache_examples=True,
|
| 338 |
+
examples_per_page=50,
|
| 339 |
)
|
| 340 |
|
| 341 |
|
vggsfm_code/vggsfm/models/triangulator.py
CHANGED
|
@@ -27,7 +27,6 @@ from torch.cuda.amp import autocast
|
|
| 27 |
# from pytorch3d.renderer.cameras import CamerasBase, PerspectiveCameras
|
| 28 |
from minipytorch3d.cameras import CamerasBase, PerspectiveCameras
|
| 29 |
|
| 30 |
-
|
| 31 |
# #####################
|
| 32 |
# from ..two_view_geo.utils import inlier_by_fundamental
|
| 33 |
from ..utils.triangulation import (
|
|
|
|
| 27 |
# from pytorch3d.renderer.cameras import CamerasBase, PerspectiveCameras
|
| 28 |
from minipytorch3d.cameras import CamerasBase, PerspectiveCameras
|
| 29 |
|
|
|
|
| 30 |
# #####################
|
| 31 |
# from ..two_view_geo.utils import inlier_by_fundamental
|
| 32 |
from ..utils.triangulation import (
|