Spaces:
Running
on
Zero
Running
on
Zero
ui
Browse files
app.py
CHANGED
@@ -267,30 +267,26 @@ def reset_feat2gs_state():
|
|
267 |
|
268 |
_TITLE = '''Feat2GS Demo'''
|
269 |
_DESCRIPTION = '''
|
270 |
-
|
271 |
-
|
272 |
-
<strong><span style="font-family: 'Comic Sans MS';"><span style="color: #E0933F">Feat</span><span style="color: #B24C33">2</span><span style="color: #E0933F">GS</span></span>: Probing Visual Foundation Models with Gaussian Splatting</strong>
|
273 |
-
</div>
|
274 |
-
</div>
|
275 |
-
<p></p>
|
276 |
-
<div align="center">
|
277 |
-
<a style="display:inline-block" href="https://fanegg.github.io/Feat2GS/"><img src='https://img.shields.io/badge/Project-Website-green.svg'></a>
|
278 |
-
<a style="display:inline-block" href="https://arxiv.org/abs/2412.09606"><img src="https://img.shields.io/badge/Arxiv-2412.09606-b31b1b.svg?logo=arXiv" alt='arxiv'></a>
|
279 |
-
<a style="display:inline-block" href="https://youtu.be/4fT5lzcAJqo?si=_fCSIuXNBSmov2VA"><img src='https://img.shields.io/badge/Video-E33122?logo=Youtube'></a>
|
280 |
-
<a style="display:inline-block" href="https://github.com/fanegg/Feat2GS"><img src="https://img.shields.io/badge/Code-black?logo=Github" alt='Code'></a>
|
281 |
-
<a title="X" href="https://twitter.com/faneggchen" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
|
282 |
-
<img src="https://img.shields.io/badge/@Yue%20Chen-black?logo=X" alt="X">
|
283 |
-
</a>
|
284 |
-
<a title="Bluesky" href="https://bsky.app/profile/fanegg.bsky.social" target="_blank" rel="noopener noreferrer" style="display: inline-block;">
|
285 |
-
<img src="https://img.shields.io/badge/@Yue%20Chen-white?logo=Bluesky" alt="Bluesky">
|
286 |
-
</a>
|
287 |
-
</div>
|
288 |
-
<p></p>
|
289 |
'''
|
290 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
291 |
|
292 |
# demo = gr.Blocks(title=_TITLE).queue()
|
293 |
-
demo = gr.Blocks(css=""".gradio-container {margin: 0 !important; min-width: 100%};""", title="Feat2GS Demo").queue()
|
294 |
with demo:
|
295 |
dust3r_state = gr.State(None)
|
296 |
feat2gs_state = gr.State(None)
|
@@ -401,16 +397,17 @@ with demo:
|
|
401 |
)
|
402 |
render_run.click(run_render, inputs=[dust3r_state, feat2gs_state, cam_traj], outputs=[output_video])
|
403 |
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
|
|
415 |
|
416 |
demo.launch(server_name="0.0.0.0", share=False)
|
|
|
267 |
|
268 |
_TITLE = '''Feat2GS Demo'''
|
269 |
_DESCRIPTION = '''
|
270 |
+
# Feat2GS: Probing Visual Foundation Models with Gaussian Splatting
|
271 |
+
\n\n<a style="display:inline-block" href="https://fanegg.github.io/Feat2GS/"><img src='https://img.shields.io/badge/Project-Website-green.svg'></a> <a style="display:inline-block" href="https://arxiv.org/abs/2412.09606"><img src="https://img.shields.io/badge/Arxiv-2412.09606-b31b1b.svg?logo=arXiv" alt='arxiv'></a> <a style="display:inline-block" href="https://youtu.be/4fT5lzcAJqo?si=_fCSIuXNBSmov2VA"><img src='https://img.shields.io/badge/Video-E33122?logo=Youtube'></a> <a style="display:inline-block" href="https://github.com/fanegg/Feat2GS"><img src="https://img.shields.io/badge/Code-black?logo=Github" alt='Code'></a> <a title="X" href="https://twitter.com/faneggchen" target="_blank" rel="noopener noreferrer" style="display: inline-block;"><img src="https://img.shields.io/badge/@Yue%20Chen-black?logo=X" alt="X"></a> <a title="Bluesky" href="https://bsky.app/profile/fanegg.bsky.social" target="_blank" rel="noopener noreferrer" style="display: inline-block;"><img src="https://img.shields.io/badge/@Yue%20Chen-white?logo=Bluesky" alt="Bluesky"></a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
272 |
'''
|
273 |
|
274 |
+
_CITE_ = r"""
|
275 |
+
## 📝 **Citation**
|
276 |
+
If you find our work useful for your research or applications, please consider citing the following paper:
|
277 |
+
```bibtex
|
278 |
+
@article{chen2024feat2gs,
|
279 |
+
title={Feat2GS: Probing Visual Foundation Models with Gaussian Splatting},
|
280 |
+
author={Chen, Yue and Chen, Xingyu and Chen, Anpei and Pons-Moll, Gerard and Xiu, Yuliang},
|
281 |
+
journal={arXiv preprint arXiv:2412.09606},
|
282 |
+
year={2024}
|
283 |
+
}
|
284 |
+
```
|
285 |
+
"""
|
286 |
+
|
287 |
|
288 |
# demo = gr.Blocks(title=_TITLE).queue()
|
289 |
+
demo = gr.Blocks(css=""".gradio-container {margin: 0 !important; min-width: 100%};""", title="Feat2GS Demo", theme=gr.themes.Origin()).queue()
|
290 |
with demo:
|
291 |
dust3r_state = gr.State(None)
|
292 |
feat2gs_state = gr.State(None)
|
|
|
397 |
)
|
398 |
render_run.click(run_render, inputs=[dust3r_state, feat2gs_state, cam_traj], outputs=[output_video])
|
399 |
|
400 |
+
gr.Markdown(_CITE_)
|
401 |
+
|
402 |
+
# gr.Examples(
|
403 |
+
# examples=[
|
404 |
+
# "plushies",
|
405 |
+
# ],
|
406 |
+
# inputs=[input_path],
|
407 |
+
# outputs=[dust3r_model, feat_image, output_model, output_video],
|
408 |
+
# fn=lambda x: process_example(inputfiles=None, input_path=x),
|
409 |
+
# cache_examples=True,
|
410 |
+
# label='Examples'
|
411 |
+
# )
|
412 |
|
413 |
demo.launch(server_name="0.0.0.0", share=False)
|