jetson compile fix
This commit is contained in:
@@ -164,7 +164,11 @@ def main() -> int:
|
||||
rate_scale = float(replay.rate_scale) if replay.rate_scale > 0 else 1.0
|
||||
combos = [ComboKey(input=combo.input, output=combo.output) for combo in config.combos]
|
||||
|
||||
dataset = _load_dataset(Path(replay.dataset_dir), combos, int(config.radar.sweep.points))
|
||||
# expanduser: profiles are copied between machines, so "~/..." dataset paths
|
||||
# must resolve against the local home instead of failing as a literal "~".
|
||||
dataset = _load_dataset(
|
||||
Path(replay.dataset_dir).expanduser(), combos, int(config.radar.sweep.points)
|
||||
)
|
||||
logger.info(
|
||||
"Replay producer starting: dataset=%s, snapshots=%d, combos=%d, "
|
||||
"median_gap=%.3f s, loop=%s, rate_scale=%.2f",
|
||||
|
||||
@@ -140,7 +140,8 @@ def main() -> int:
|
||||
|
||||
config = RunConfigModel.load_from_path(args.config)
|
||||
config.ensure_combos()
|
||||
dataset_dir = Path(config.radar.replay.dataset_dir)
|
||||
# expanduser: "~/..." dataset paths from machine-portable profiles.
|
||||
dataset_dir = Path(config.radar.replay.dataset_dir).expanduser()
|
||||
if not dataset_dir.is_dir():
|
||||
raise RuntimeError(f"Replay dataset not found: {dataset_dir}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user