JianyuanWang commited on
Commit
a327689
1 Parent(s): 34d287c
Files changed (3) hide show
  1. debug_demo.py +0 -31
  2. glbscene.glb +0 -0
  3. vggsfm_code/hf_demo.py +1 -1
debug_demo.py DELETED
@@ -1,31 +0,0 @@
1
- import gradio as gr
2
-
3
- def greet(name, intensity):
4
- return "Hello, " + name + "!" * int(intensity)
5
-
6
- demo = gr.Interface(
7
- fn=greet,
8
- inputs=["text", "slider"],
9
- outputs=["text"],
10
- )
11
-
12
- demo.launch(share=True)
13
-
14
-
15
- import sys
16
- import os
17
-
18
- sys.path.append('vggsfm_code/')
19
-
20
- from vggsfm_code.hf_demo import demo_fn
21
- from omegaconf import DictConfig, OmegaConf
22
-
23
- cfg_file = "vggsfm_code/cfgs/demo.yaml"
24
- cfg = OmegaConf.load(cfg_file)
25
- cfg.SCENE_DIR = "vggsfm_code/examples/cake"
26
-
27
- import pdb;pdb.set_trace()
28
-
29
- demo_fn(cfg)
30
-
31
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
glbscene.glb DELETED
Binary file (97.8 kB)
 
vggsfm_code/hf_demo.py CHANGED
@@ -21,7 +21,7 @@ from lightglue import LightGlue, SuperPoint, SIFT, ALIKED
21
 
22
  import pycolmap
23
 
24
- from visdom import Visdom
25
 
26
 
27
  from vggsfm.datasets.demo_loader import DemoLoader
 
21
 
22
  import pycolmap
23
 
24
+ # from visdom import Visdom
25
 
26
 
27
  from vggsfm.datasets.demo_loader import DemoLoader