Junyi42 commited on
Commit
b9a90c6
·
1 Parent(s): 225c2c8
Files changed (1) hide show
  1. app.py +2 -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=32, traj_path="rollerblade_ff", mask_folder="rollerblade")
32
 
33
  app = fastapi.FastAPI()
34
  viser_manager = ViserProxyManager(app)
@@ -76,7 +76,7 @@ def main() -> None:
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, 1.75, -0.175),
80
  },
81
  daemon=True
82
  ).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=32, traj_path="rollerblade_ff", mask_folder="rollerblade", conf_thre_percentile=3)
32
 
33
  app = fastapi.FastAPI()
34
  viser_manager = ViserProxyManager(app)
 
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.25, -0.225),
80
  },
81
  daemon=True
82
  ).start()