Junyi42 commited on
Commit
5854e3b
·
1 Parent(s): 4d1a850
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -28,7 +28,7 @@ def check_ram_usage(threshold_percent=90):
28
  def main() -> None:
29
  # Load data once at startup using the function from vis_st4rtrack.py
30
  global global_data_cache
31
- global_data_cache = load_trajectory_data(use_float16=True, max_frames=100, traj_path="train", mask_folder="train")
32
 
33
  app = fastapi.FastAPI()
34
  viser_manager = ViserProxyManager(app)
@@ -75,7 +75,8 @@ def main() -> None:
75
  "color_code": "jet",
76
  "blue_rgb": (0.0, 0.149, 0.463), # #002676
77
  "red_rgb": (0.769, 0.510, 0.055), # #FDB515
78
- "blend_ratio": 0.7
 
79
  },
80
  daemon=True
81
  ).start()
 
28
  def main() -> None:
29
  # Load data once at startup using the function from vis_st4rtrack.py
30
  global global_data_cache
31
+ global_data_cache = load_trajectory_data(use_float16=True, max_frames=100, traj_path="480p_train", mask_folder="train")
32
 
33
  app = fastapi.FastAPI()
34
  viser_manager = ViserProxyManager(app)
 
75
  "color_code": "jet",
76
  "blue_rgb": (0.0, 0.149, 0.463), # #002676
77
  "red_rgb": (0.769, 0.510, 0.055), # #FDB515
78
+ "blend_ratio": 0.7,
79
+ "camera_position": (1e-3, 2., -0.25),
80
  },
81
  daemon=True
82
  ).start()