Spaces:
Running
on
Zero
Running
on
Zero
JianyuanWang
commited on
Commit
β’
1160d19
1
Parent(s):
dbccd94
add examples; adjust pan and zoom speed
Browse filesThis view is limited to 50 files because it contains too many changes. Β
See raw diff
- .gitattributes +128 -0
- app.py +9 -2
- gradio_cached_examples/17/Reconstruction/{945304e792b0f852dd99 β 2da84ab238f95132a386}/glbscene.glb +0 -0
- gradio_cached_examples/17/Reconstruction/58a38ee9b7f78f58da22/glbscene.glb +0 -0
- gradio_cached_examples/17/Reconstruction/86be77ec40440c4449fa/glbscene.glb +0 -0
- gradio_cached_examples/17/Reconstruction/acbcb0d82e2838cc056a/glbscene.glb +0 -0
- gradio_cached_examples/17/Reconstruction/b00c2bced6d030b08364/glbscene.glb +0 -0
- gradio_cached_examples/17/Reconstruction/b88c697380a8072bc89b/glbscene.glb +0 -0
- gradio_cached_examples/17/Reconstruction/bbd7de840562d63202f0/glbscene.glb +0 -0
- gradio_cached_examples/17/Reconstruction/dba107feeb52b972001d/glbscene.glb +0 -0
- gradio_cached_examples/17/Reconstruction/eff9890930c07374da16/glbscene.glb +0 -0
- gradio_cached_examples/17/log.csv +6 -4
- images_to_videos.py +1 -1
- vggsfm_code/examples/apple/images/001.jpg +0 -0
- vggsfm_code/examples/apple/images/010.jpg +0 -0
- vggsfm_code/examples/apple/images/019.jpg +0 -0
- vggsfm_code/examples/apple/images/028.jpg +0 -0
- vggsfm_code/examples/apple/images/037.jpg +0 -0
- vggsfm_code/examples/apple/images/046.jpg +0 -0
- vggsfm_code/examples/apple/images/055.jpg +0 -0
- vggsfm_code/examples/apple/images/064.jpg +0 -0
- vggsfm_code/examples/apple/images/073.jpg +0 -0
- vggsfm_code/examples/apple/images/082.jpg +0 -0
- vggsfm_code/examples/apple/images/091.jpg +0 -0
- vggsfm_code/examples/apple/images/100.jpg +0 -0
- vggsfm_code/examples/apple/images/109.jpg +0 -0
- vggsfm_code/examples/apple/images/118.jpg +0 -0
- vggsfm_code/examples/apple/images/127.jpg +0 -0
- vggsfm_code/examples/apple/images/136.jpg +0 -0
- vggsfm_code/examples/apple/images/145.jpg +0 -0
- vggsfm_code/examples/apple/images/154.jpg +0 -0
- vggsfm_code/examples/apple/images/163.jpg +0 -0
- vggsfm_code/examples/apple/images/172.jpg +0 -0
- vggsfm_code/examples/bonsai/images/{565.JPG β 565.jpg} +0 -0
- vggsfm_code/examples/bonsai/images/{568.JPG β 568.jpg} +0 -0
- vggsfm_code/examples/bonsai/images/{573.JPG β 573.jpg} +0 -0
- vggsfm_code/examples/bonsai/images/{579.JPG β 579.jpg} +0 -0
- vggsfm_code/examples/bonsai/images/{582.JPG β 582.jpg} +0 -0
- vggsfm_code/examples/bonsai/images/{585.JPG β 585.jpg} +0 -0
- vggsfm_code/examples/bonsai/images/{588.JPG β 588.jpg} +0 -0
- vggsfm_code/examples/bonsai/images/{590.JPG β 590.jpg} +0 -0
- vggsfm_code/examples/bonsai/images/{593.JPG β 593.jpg} +0 -0
- vggsfm_code/examples/bonsai/images/{596.JPG β 596.jpg} +0 -0
- vggsfm_code/examples/bonsai/images/{600.JPG β 600.jpg} +0 -0
- vggsfm_code/examples/bonsai/images/{603.JPG β 603.jpg} +0 -0
- vggsfm_code/examples/bonsai/images/{615.JPG β 615.jpg} +0 -0
- vggsfm_code/examples/british_museum/images/069.jpg +0 -0
- vggsfm_code/examples/british_museum/images/134.jpg +0 -0
- vggsfm_code/examples/british_museum/images/192.jpg +0 -0
- vggsfm_code/examples/british_museum/images/210.jpg +0 -0
.gitattributes
CHANGED
@@ -37,3 +37,131 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
37 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
38 |
vggsfm_code/examples/ filter=lfs diff=lfs merge=lfs -text
|
39 |
gradio_cached_examples/ filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
38 |
vggsfm_code/examples/ filter=lfs diff=lfs merge=lfs -text
|
39 |
gradio_cached_examples/ filter=lfs diff=lfs merge=lfs -text
|
40 |
+
vggsfm_code/examples/in2n_counter filter=lfs diff=lfs merge=lfs -text
|
41 |
+
vggsfm_code/examples/in2n_face filter=lfs diff=lfs merge=lfs -text
|
42 |
+
vggsfm_code/examples/llff_horns filter=lfs diff=lfs merge=lfs -text
|
43 |
+
vggsfm_code/examples/videos filter=lfs diff=lfs merge=lfs -text
|
44 |
+
vggsfm_code/examples/apple filter=lfs diff=lfs merge=lfs -text
|
45 |
+
vggsfm_code/examples/bonsai filter=lfs diff=lfs merge=lfs -text
|
46 |
+
vggsfm_code/examples/british_museum filter=lfs diff=lfs merge=lfs -text
|
47 |
+
vggsfm_code/examples/cake filter=lfs diff=lfs merge=lfs -text
|
48 |
+
vggsfm_code/examples/bonsai/images/ filter=lfs diff=lfs merge=lfs -text
|
49 |
+
vggsfm_code/examples/bonsai/images/596.jpg filter=lfs diff=lfs merge=lfs -text
|
50 |
+
vggsfm_code/examples/bonsai/images/600.jpg filter=lfs diff=lfs merge=lfs -text
|
51 |
+
vggsfm_code/examples/bonsai/images/565.jpg filter=lfs diff=lfs merge=lfs -text
|
52 |
+
vggsfm_code/examples/bonsai/images/579.jpg filter=lfs diff=lfs merge=lfs -text
|
53 |
+
vggsfm_code/examples/bonsai/images/588.jpg filter=lfs diff=lfs merge=lfs -text
|
54 |
+
vggsfm_code/examples/bonsai/images/582.jpg filter=lfs diff=lfs merge=lfs -text
|
55 |
+
vggsfm_code/examples/bonsai/images/593.jpg filter=lfs diff=lfs merge=lfs -text
|
56 |
+
vggsfm_code/examples/bonsai/images/573.jpg filter=lfs diff=lfs merge=lfs -text
|
57 |
+
vggsfm_code/examples/bonsai/images/603.jpg filter=lfs diff=lfs merge=lfs -text
|
58 |
+
vggsfm_code/examples/bonsai/images/615.jpg filter=lfs diff=lfs merge=lfs -text
|
59 |
+
vggsfm_code/examples/bonsai/images/568.jpg filter=lfs diff=lfs merge=lfs -text
|
60 |
+
vggsfm_code/examples/bonsai/images/585.jpg filter=lfs diff=lfs merge=lfs -text
|
61 |
+
vggsfm_code/examples/bonsai/images/590.jpg filter=lfs diff=lfs merge=lfs -text
|
62 |
+
vggsfm_code/examples/cake/images/frame000169.jpg filter=lfs diff=lfs merge=lfs -text
|
63 |
+
vggsfm_code/examples/in2n_face/images/019.jpg filter=lfs diff=lfs merge=lfs -text
|
64 |
+
vggsfm_code/examples/apple/images/109.jpg filter=lfs diff=lfs merge=lfs -text
|
65 |
+
vggsfm_code/examples/british_museum/images/599.jpg filter=lfs diff=lfs merge=lfs -text
|
66 |
+
vggsfm_code/examples/in2n_face/images/023.jpg filter=lfs diff=lfs merge=lfs -text
|
67 |
+
vggsfm_code/examples/llff_horns/images/942.png filter=lfs diff=lfs merge=lfs -text
|
68 |
+
vggsfm_code/examples/llff_horns/images/977.png filter=lfs diff=lfs merge=lfs -text
|
69 |
+
vggsfm_code/examples/apple/images/091.jpg filter=lfs diff=lfs merge=lfs -text
|
70 |
+
vggsfm_code/examples/apple/images/136.jpg filter=lfs diff=lfs merge=lfs -text
|
71 |
+
vggsfm_code/examples/apple/images/145.jpg filter=lfs diff=lfs merge=lfs -text
|
72 |
+
vggsfm_code/examples/cake/images/frame000069.jpg filter=lfs diff=lfs merge=lfs -text
|
73 |
+
vggsfm_code/examples/in2n_counter/images/869.jpg filter=lfs diff=lfs merge=lfs -text
|
74 |
+
vggsfm_code/examples/apple/images/073.jpg filter=lfs diff=lfs merge=lfs -text
|
75 |
+
vggsfm_code/examples/in2n_counter/images/872.jpg filter=lfs diff=lfs merge=lfs -text
|
76 |
+
vggsfm_code/examples/in2n_counter/images/878.jpg filter=lfs diff=lfs merge=lfs -text
|
77 |
+
vggsfm_code/examples/in2n_counter/images/881.jpg filter=lfs diff=lfs merge=lfs -text
|
78 |
+
vggsfm_code/examples/in2n_face/images/003.jpg filter=lfs diff=lfs merge=lfs -text
|
79 |
+
vggsfm_code/examples/in2n_face/images/009.jpg filter=lfs diff=lfs merge=lfs -text
|
80 |
+
vggsfm_code/examples/in2n_counter/images/857.jpg filter=lfs diff=lfs merge=lfs -text
|
81 |
+
vggsfm_code/examples/in2n_counter/images/875.jpg filter=lfs diff=lfs merge=lfs -text
|
82 |
+
vggsfm_code/examples/british_museum/images/192.jpg filter=lfs diff=lfs merge=lfs -text
|
83 |
+
vggsfm_code/examples/in2n_face/images/010.jpg filter=lfs diff=lfs merge=lfs -text
|
84 |
+
vggsfm_code/examples/llff_horns/images/557.png filter=lfs diff=lfs merge=lfs -text
|
85 |
+
vggsfm_code/examples/llff_horns/images/842.png filter=lfs diff=lfs merge=lfs -text
|
86 |
+
vggsfm_code/examples/apple/images/028.jpg filter=lfs diff=lfs merge=lfs -text
|
87 |
+
vggsfm_code/examples/apple/images/055.jpg filter=lfs diff=lfs merge=lfs -text
|
88 |
+
vggsfm_code/examples/british_museum/images/336.jpg filter=lfs diff=lfs merge=lfs -text
|
89 |
+
vggsfm_code/examples/in2n_face/images/016.jpg filter=lfs diff=lfs merge=lfs -text
|
90 |
+
vggsfm_code/examples/llff_horns/images/597.png filter=lfs diff=lfs merge=lfs -text
|
91 |
+
vggsfm_code/examples/apple/images/154.jpg filter=lfs diff=lfs merge=lfs -text
|
92 |
+
vggsfm_code/examples/cake/images/frame000096.jpg filter=lfs diff=lfs merge=lfs -text
|
93 |
+
vggsfm_code/examples/in2n_face/images/004.jpg filter=lfs diff=lfs merge=lfs -text
|
94 |
+
vggsfm_code/examples/in2n_face/images/006.jpg filter=lfs diff=lfs merge=lfs -text
|
95 |
+
vggsfm_code/examples/apple/images/010.jpg filter=lfs diff=lfs merge=lfs -text
|
96 |
+
vggsfm_code/examples/british_museum/images/632.jpg filter=lfs diff=lfs merge=lfs -text
|
97 |
+
vggsfm_code/examples/in2n_counter/images/866.jpg filter=lfs diff=lfs merge=lfs -text
|
98 |
+
vggsfm_code/examples/llff_horns/images/427.png filter=lfs diff=lfs merge=lfs -text
|
99 |
+
vggsfm_code/examples/british_museum/images/210.jpg filter=lfs diff=lfs merge=lfs -text
|
100 |
+
vggsfm_code/examples/in2n_face/images/013.jpg filter=lfs diff=lfs merge=lfs -text
|
101 |
+
vggsfm_code/examples/in2n_face/images/015.jpg filter=lfs diff=lfs merge=lfs -text
|
102 |
+
vggsfm_code/examples/llff_horns/images/287.png filter=lfs diff=lfs merge=lfs -text
|
103 |
+
vggsfm_code/examples/british_museum/images/515.jpg filter=lfs diff=lfs merge=lfs -text
|
104 |
+
vggsfm_code/examples/in2n_counter/images/873.jpg filter=lfs diff=lfs merge=lfs -text
|
105 |
+
vggsfm_code/examples/in2n_face/images/014.jpg filter=lfs diff=lfs merge=lfs -text
|
106 |
+
vggsfm_code/examples/apple/images/100.jpg filter=lfs diff=lfs merge=lfs -text
|
107 |
+
vggsfm_code/examples/cake/images/frame000146.jpg filter=lfs diff=lfs merge=lfs -text
|
108 |
+
vggsfm_code/examples/in2n_counter/images/862.jpg filter=lfs diff=lfs merge=lfs -text
|
109 |
+
vggsfm_code/examples/llff_horns/images/432.png filter=lfs diff=lfs merge=lfs -text
|
110 |
+
vggsfm_code/examples/british_museum/images/134.jpg filter=lfs diff=lfs merge=lfs -text
|
111 |
+
vggsfm_code/examples/in2n_counter/images/858.jpg filter=lfs diff=lfs merge=lfs -text
|
112 |
+
vggsfm_code/examples/in2n_counter/images/865.jpg filter=lfs diff=lfs merge=lfs -text
|
113 |
+
vggsfm_code/examples/llff_horns/images/602.png filter=lfs diff=lfs merge=lfs -text
|
114 |
+
vggsfm_code/examples/cake/images/frame000112.jpg filter=lfs diff=lfs merge=lfs -text
|
115 |
+
vggsfm_code/examples/cake/images/frame000149.jpg filter=lfs diff=lfs merge=lfs -text
|
116 |
+
vggsfm_code/examples/in2n_counter/images/867.jpg filter=lfs diff=lfs merge=lfs -text
|
117 |
+
vggsfm_code/examples/in2n_counter/images/871.jpg filter=lfs diff=lfs merge=lfs -text
|
118 |
+
vggsfm_code/examples/in2n_face/images/011.jpg filter=lfs diff=lfs merge=lfs -text
|
119 |
+
vggsfm_code/examples/llff_horns/images/038.png filter=lfs diff=lfs merge=lfs -text
|
120 |
+
vggsfm_code/examples/apple/images/037.jpg filter=lfs diff=lfs merge=lfs -text
|
121 |
+
vggsfm_code/examples/british_museum/images/886.jpg filter=lfs diff=lfs merge=lfs -text
|
122 |
+
vggsfm_code/examples/apple/images/046.jpg filter=lfs diff=lfs merge=lfs -text
|
123 |
+
vggsfm_code/examples/in2n_counter/images/864.jpg filter=lfs diff=lfs merge=lfs -text
|
124 |
+
vggsfm_code/examples/in2n_counter/images/879.jpg filter=lfs diff=lfs merge=lfs -text
|
125 |
+
vggsfm_code/examples/llff_horns/images/877.png filter=lfs diff=lfs merge=lfs -text
|
126 |
+
vggsfm_code/examples/apple/images/019.jpg filter=lfs diff=lfs merge=lfs -text
|
127 |
+
vggsfm_code/examples/in2n_counter/images/870.jpg filter=lfs diff=lfs merge=lfs -text
|
128 |
+
vggsfm_code/examples/cake/images/frame000166.jpg filter=lfs diff=lfs merge=lfs -text
|
129 |
+
vggsfm_code/examples/in2n_counter/images/876.jpg filter=lfs diff=lfs merge=lfs -text
|
130 |
+
vggsfm_code/examples/llff_horns/images/712.png filter=lfs diff=lfs merge=lfs -text
|
131 |
+
vggsfm_code/examples/in2n_face/images/024.jpg filter=lfs diff=lfs merge=lfs -text
|
132 |
+
vggsfm_code/examples/in2n_face/images/017.jpg filter=lfs diff=lfs merge=lfs -text
|
133 |
+
vggsfm_code/examples/in2n_face/images/020.jpg filter=lfs diff=lfs merge=lfs -text
|
134 |
+
vggsfm_code/examples/in2n_face/images/022.jpg filter=lfs diff=lfs merge=lfs -text
|
135 |
+
vggsfm_code/examples/llff_horns/images/752.png filter=lfs diff=lfs merge=lfs -text
|
136 |
+
vggsfm_code/examples/apple/images/001.jpg filter=lfs diff=lfs merge=lfs -text
|
137 |
+
vggsfm_code/examples/apple/images/082.jpg filter=lfs diff=lfs merge=lfs -text
|
138 |
+
vggsfm_code/examples/llff_horns/images/017.png filter=lfs diff=lfs merge=lfs -text
|
139 |
+
vggsfm_code/examples/llff_horns/images/532.png filter=lfs diff=lfs merge=lfs -text
|
140 |
+
vggsfm_code/examples/in2n_counter/images/863.jpg filter=lfs diff=lfs merge=lfs -text
|
141 |
+
vggsfm_code/examples/apple/images/127.jpg filter=lfs diff=lfs merge=lfs -text
|
142 |
+
vggsfm_code/examples/apple/images/163.jpg filter=lfs diff=lfs merge=lfs -text
|
143 |
+
vggsfm_code/examples/cake/images/frame000020.jpg filter=lfs diff=lfs merge=lfs -text
|
144 |
+
vggsfm_code/examples/llff_horns/images/627.png filter=lfs diff=lfs merge=lfs -text
|
145 |
+
vggsfm_code/examples/llff_horns/images/687.png filter=lfs diff=lfs merge=lfs -text
|
146 |
+
vggsfm_code/examples/in2n_counter/images/860.jpg filter=lfs diff=lfs merge=lfs -text
|
147 |
+
vggsfm_code/examples/in2n_face/images/002.jpg filter=lfs diff=lfs merge=lfs -text
|
148 |
+
vggsfm_code/examples/in2n_face/images/025.jpg filter=lfs diff=lfs merge=lfs -text
|
149 |
+
vggsfm_code/examples/british_museum/images/767.jpg filter=lfs diff=lfs merge=lfs -text
|
150 |
+
vggsfm_code/examples/in2n_face/images/008.jpg filter=lfs diff=lfs merge=lfs -text
|
151 |
+
vggsfm_code/examples/in2n_counter/images/859.jpg filter=lfs diff=lfs merge=lfs -text
|
152 |
+
vggsfm_code/examples/in2n_face/images/005.jpg filter=lfs diff=lfs merge=lfs -text
|
153 |
+
vggsfm_code/examples/in2n_face/images/018.jpg filter=lfs diff=lfs merge=lfs -text
|
154 |
+
vggsfm_code/examples/in2n_face/images/021.jpg filter=lfs diff=lfs merge=lfs -text
|
155 |
+
vggsfm_code/examples/apple/images/118.jpg filter=lfs diff=lfs merge=lfs -text
|
156 |
+
vggsfm_code/examples/in2n_counter/images/874.jpg filter=lfs diff=lfs merge=lfs -text
|
157 |
+
vggsfm_code/examples/in2n_face/images/012.jpg filter=lfs diff=lfs merge=lfs -text
|
158 |
+
vggsfm_code/examples/apple/images/064.jpg filter=lfs diff=lfs merge=lfs -text
|
159 |
+
vggsfm_code/examples/in2n_counter/images/861.jpg filter=lfs diff=lfs merge=lfs -text
|
160 |
+
vggsfm_code/examples/in2n_counter/images/868.jpg filter=lfs diff=lfs merge=lfs -text
|
161 |
+
vggsfm_code/examples/in2n_counter/images/880.jpg filter=lfs diff=lfs merge=lfs -text
|
162 |
+
vggsfm_code/examples/in2n_face/images/007.jpg filter=lfs diff=lfs merge=lfs -text
|
163 |
+
vggsfm_code/examples/british_museum/images/069.jpg filter=lfs diff=lfs merge=lfs -text
|
164 |
+
vggsfm_code/examples/in2n_counter/images/877.jpg filter=lfs diff=lfs merge=lfs -text
|
165 |
+
vggsfm_code/examples/apple/images/172.jpg filter=lfs diff=lfs merge=lfs -text
|
166 |
+
vggsfm_code/examples/in2n_face/images/001.jpg filter=lfs diff=lfs merge=lfs -text
|
167 |
+
vggsfm_code/examples/llff_horns/images/967.png filter=lfs diff=lfs merge=lfs -text
|
app.py
CHANGED
@@ -215,15 +215,20 @@ british_museum_video = "vggsfm_code/examples/videos/british_museum_video.mp4"
|
|
215 |
cake_video = "vggsfm_code/examples/videos/cake_video.mp4"
|
216 |
bonsai_video = "vggsfm_code/examples/videos/bonsai_video.mp4"
|
217 |
face_video = "vggsfm_code/examples/videos/in2n_face_video.mp4"
|
|
|
|
|
|
|
|
|
218 |
|
219 |
|
220 |
apple_images = glob.glob(f'vggsfm_code/examples/apple/images/*')
|
221 |
bonsai_images = glob.glob(f'vggsfm_code/examples/bonsai/images/*')
|
222 |
cake_images = glob.glob(f'vggsfm_code/examples/cake/images/*')
|
223 |
british_museum_images = glob.glob(f'vggsfm_code/examples/british_museum/images/*')
|
224 |
-
|
225 |
face_images = glob.glob(f'vggsfm_code/examples/in2n_face/images/*')
|
|
|
226 |
|
|
|
227 |
|
228 |
|
229 |
with gr.Blocks() as demo:
|
@@ -256,7 +261,7 @@ with gr.Blocks() as demo:
|
|
256 |
info="More query points usually lead to denser reconstruction at lower speeds.")
|
257 |
|
258 |
with gr.Column(scale=3):
|
259 |
-
reconstruction_output = gr.Model3D(label="Reconstruction", height=520, zoom_speed=
|
260 |
log_output = gr.Textbox(label="Log")
|
261 |
|
262 |
with gr.Row():
|
@@ -267,6 +272,8 @@ with gr.Blocks() as demo:
|
|
267 |
|
268 |
|
269 |
examples = [
|
|
|
|
|
270 |
[face_video, face_images, 4, 2048],
|
271 |
[british_museum_video, british_museum_images, 1, 4096],
|
272 |
[apple_video, apple_images, 6, 2048],
|
|
|
215 |
cake_video = "vggsfm_code/examples/videos/cake_video.mp4"
|
216 |
bonsai_video = "vggsfm_code/examples/videos/bonsai_video.mp4"
|
217 |
face_video = "vggsfm_code/examples/videos/in2n_face_video.mp4"
|
218 |
+
counter_video = "vggsfm_code/examples/videos/in2n_counter_video.mp4"
|
219 |
+
|
220 |
+
horns_video = "vggsfm_code/examples/videos/llff_horns_video.mp4"
|
221 |
+
|
222 |
|
223 |
|
224 |
apple_images = glob.glob(f'vggsfm_code/examples/apple/images/*')
|
225 |
bonsai_images = glob.glob(f'vggsfm_code/examples/bonsai/images/*')
|
226 |
cake_images = glob.glob(f'vggsfm_code/examples/cake/images/*')
|
227 |
british_museum_images = glob.glob(f'vggsfm_code/examples/british_museum/images/*')
|
|
|
228 |
face_images = glob.glob(f'vggsfm_code/examples/in2n_face/images/*')
|
229 |
+
counter_images = glob.glob(f'vggsfm_code/examples/in2n_counter/images/*')
|
230 |
|
231 |
+
horns_images = glob.glob(f'vggsfm_code/examples/llff_horns/images/*')
|
232 |
|
233 |
|
234 |
with gr.Blocks() as demo:
|
|
|
261 |
info="More query points usually lead to denser reconstruction at lower speeds.")
|
262 |
|
263 |
with gr.Column(scale=3):
|
264 |
+
reconstruction_output = gr.Model3D(label="Reconstruction", height=520, zoom_speed=0.5, pan_speed=0.5)
|
265 |
log_output = gr.Textbox(label="Log")
|
266 |
|
267 |
with gr.Row():
|
|
|
272 |
|
273 |
|
274 |
examples = [
|
275 |
+
[counter_video, counter_images, 4, 2048],
|
276 |
+
[horns_video, horns_images, 3, 4096],
|
277 |
[face_video, face_images, 4, 2048],
|
278 |
[british_museum_video, british_museum_images, 1, 4096],
|
279 |
[apple_video, apple_images, 6, 2048],
|
gradio_cached_examples/17/Reconstruction/{945304e792b0f852dd99 β 2da84ab238f95132a386}/glbscene.glb
RENAMED
File without changes
|
gradio_cached_examples/17/Reconstruction/58a38ee9b7f78f58da22/glbscene.glb
ADDED
Binary file (149 kB). View file
|
|
gradio_cached_examples/17/Reconstruction/86be77ec40440c4449fa/glbscene.glb
ADDED
Binary file (130 kB). View file
|
|
gradio_cached_examples/17/Reconstruction/acbcb0d82e2838cc056a/glbscene.glb
DELETED
Binary file (133 kB)
|
|
gradio_cached_examples/17/Reconstruction/b00c2bced6d030b08364/glbscene.glb
ADDED
Binary file (134 kB). View file
|
|
gradio_cached_examples/17/Reconstruction/b88c697380a8072bc89b/glbscene.glb
ADDED
Binary file (77.2 kB). View file
|
|
gradio_cached_examples/17/Reconstruction/bbd7de840562d63202f0/glbscene.glb
DELETED
Binary file (130 kB)
|
|
gradio_cached_examples/17/Reconstruction/dba107feeb52b972001d/glbscene.glb
ADDED
Binary file (191 kB). View file
|
|
gradio_cached_examples/17/Reconstruction/eff9890930c07374da16/glbscene.glb
DELETED
Binary file (77.2 kB)
|
|
gradio_cached_examples/17/log.csv
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
Reconstruction,Log,flag,username,timestamp
|
2 |
-
"{""path"": ""gradio_cached_examples/17/Reconstruction/
|
3 |
-
"{""path"": ""gradio_cached_examples/17/Reconstruction/
|
4 |
-
"{""path"": ""gradio_cached_examples/17/Reconstruction/
|
5 |
-
"{""path"": ""gradio_cached_examples/17/Reconstruction/
|
|
|
|
|
|
1 |
Reconstruction,Log,flag,username,timestamp
|
2 |
+
"{""path"": ""gradio_cached_examples/17/Reconstruction/58a38ee9b7f78f58da22/glbscene.glb"", ""url"": ""/file=/tmp/gradio/d8629d6de088299963695dad2f32c97b9b4a6dda/glbscene.glb"", ""size"": null, ""orig_name"": ""glbscene.glb"", ""mime_type"": null, ""is_stream"": false, ""meta"": {""_type"": ""gradio.FileData""}}",Success,,,2024-06-27 22:25:40.884710
|
3 |
+
"{""path"": ""gradio_cached_examples/17/Reconstruction/dba107feeb52b972001d/glbscene.glb"", ""url"": ""/file=/tmp/gradio/44e78e992e40479be088886e427073166fb461e8/glbscene.glb"", ""size"": null, ""orig_name"": ""glbscene.glb"", ""mime_type"": null, ""is_stream"": false, ""meta"": {""_type"": ""gradio.FileData""}}",Success,,,2024-06-27 22:26:55.776135
|
4 |
+
"{""path"": ""gradio_cached_examples/17/Reconstruction/86be77ec40440c4449fa/glbscene.glb"", ""url"": ""/file=/tmp/gradio/11643198a5c410fb21ff2ecedfe27311624decdb/glbscene.glb"", ""size"": null, ""orig_name"": ""glbscene.glb"", ""mime_type"": null, ""is_stream"": false, ""meta"": {""_type"": ""gradio.FileData""}}",Success,,,2024-06-27 22:27:59.835219
|
5 |
+
"{""path"": ""gradio_cached_examples/17/Reconstruction/2da84ab238f95132a386/glbscene.glb"", ""url"": ""/file=/tmp/gradio/4cc4bf183538e927e644e048332dcdaff12da3cf/glbscene.glb"", ""size"": null, ""orig_name"": ""glbscene.glb"", ""mime_type"": null, ""is_stream"": false, ""meta"": {""_type"": ""gradio.FileData""}}",Success,,,2024-06-27 22:28:19.724742
|
6 |
+
"{""path"": ""gradio_cached_examples/17/Reconstruction/b00c2bced6d030b08364/glbscene.glb"", ""url"": ""/file=/tmp/gradio/4195e188d2f60916506b117306176967bcf753f6/glbscene.glb"", ""size"": null, ""orig_name"": ""glbscene.glb"", ""mime_type"": null, ""is_stream"": false, ""meta"": {""_type"": ""gradio.FileData""}}",Success,,,2024-06-27 22:29:27.169590
|
7 |
+
"{""path"": ""gradio_cached_examples/17/Reconstruction/b88c697380a8072bc89b/glbscene.glb"", ""url"": ""/file=/tmp/gradio/274d72307363d50d4be30fd669778462eb2cb62e/glbscene.glb"", ""size"": null, ""orig_name"": ""glbscene.glb"", ""mime_type"": null, ""is_stream"": false, ""meta"": {""_type"": ""gradio.FileData""}}",Success,,,2024-06-27 22:29:54.437223
|
images_to_videos.py
CHANGED
@@ -2,7 +2,7 @@ import cv2
|
|
2 |
import os
|
3 |
|
4 |
# Parameters
|
5 |
-
name = "
|
6 |
folder_path = f'vggsfm_code/examples/{name}/images' # Update with the path to your images
|
7 |
video_path = f'vggsfm_code/examples/videos/{name}_video.mp4'
|
8 |
fps = 1 # frames per second
|
|
|
2 |
import os
|
3 |
|
4 |
# Parameters
|
5 |
+
name = "llff_horns"
|
6 |
folder_path = f'vggsfm_code/examples/{name}/images' # Update with the path to your images
|
7 |
video_path = f'vggsfm_code/examples/videos/{name}_video.mp4'
|
8 |
fps = 1 # frames per second
|
vggsfm_code/examples/apple/images/001.jpg
CHANGED
Git LFS Details
|
vggsfm_code/examples/apple/images/010.jpg
CHANGED
Git LFS Details
|
vggsfm_code/examples/apple/images/019.jpg
CHANGED
Git LFS Details
|
vggsfm_code/examples/apple/images/028.jpg
CHANGED
Git LFS Details
|
vggsfm_code/examples/apple/images/037.jpg
CHANGED
Git LFS Details
|
vggsfm_code/examples/apple/images/046.jpg
CHANGED
Git LFS Details
|
vggsfm_code/examples/apple/images/055.jpg
CHANGED
Git LFS Details
|
vggsfm_code/examples/apple/images/064.jpg
CHANGED
Git LFS Details
|
vggsfm_code/examples/apple/images/073.jpg
CHANGED
Git LFS Details
|
vggsfm_code/examples/apple/images/082.jpg
CHANGED
Git LFS Details
|
vggsfm_code/examples/apple/images/091.jpg
CHANGED
Git LFS Details
|
vggsfm_code/examples/apple/images/100.jpg
CHANGED
Git LFS Details
|
vggsfm_code/examples/apple/images/109.jpg
CHANGED
Git LFS Details
|
vggsfm_code/examples/apple/images/118.jpg
CHANGED
Git LFS Details
|
vggsfm_code/examples/apple/images/127.jpg
CHANGED
Git LFS Details
|
vggsfm_code/examples/apple/images/136.jpg
CHANGED
Git LFS Details
|
vggsfm_code/examples/apple/images/145.jpg
CHANGED
Git LFS Details
|
vggsfm_code/examples/apple/images/154.jpg
CHANGED
Git LFS Details
|
vggsfm_code/examples/apple/images/163.jpg
CHANGED
Git LFS Details
|
vggsfm_code/examples/apple/images/172.jpg
CHANGED
Git LFS Details
|
vggsfm_code/examples/bonsai/images/{565.JPG β 565.jpg}
RENAMED
File without changes
|
vggsfm_code/examples/bonsai/images/{568.JPG β 568.jpg}
RENAMED
File without changes
|
vggsfm_code/examples/bonsai/images/{573.JPG β 573.jpg}
RENAMED
File without changes
|
vggsfm_code/examples/bonsai/images/{579.JPG β 579.jpg}
RENAMED
File without changes
|
vggsfm_code/examples/bonsai/images/{582.JPG β 582.jpg}
RENAMED
File without changes
|
vggsfm_code/examples/bonsai/images/{585.JPG β 585.jpg}
RENAMED
File without changes
|
vggsfm_code/examples/bonsai/images/{588.JPG β 588.jpg}
RENAMED
File without changes
|
vggsfm_code/examples/bonsai/images/{590.JPG β 590.jpg}
RENAMED
File without changes
|
vggsfm_code/examples/bonsai/images/{593.JPG β 593.jpg}
RENAMED
File without changes
|
vggsfm_code/examples/bonsai/images/{596.JPG β 596.jpg}
RENAMED
File without changes
|
vggsfm_code/examples/bonsai/images/{600.JPG β 600.jpg}
RENAMED
File without changes
|
vggsfm_code/examples/bonsai/images/{603.JPG β 603.jpg}
RENAMED
File without changes
|
vggsfm_code/examples/bonsai/images/{615.JPG β 615.jpg}
RENAMED
File without changes
|
vggsfm_code/examples/british_museum/images/069.jpg
CHANGED
Git LFS Details
|
vggsfm_code/examples/british_museum/images/134.jpg
CHANGED
Git LFS Details
|
vggsfm_code/examples/british_museum/images/192.jpg
CHANGED
Git LFS Details
|
vggsfm_code/examples/british_museum/images/210.jpg
CHANGED
Git LFS Details
|