mirror of
https://github.com/huggingface/lerobot.git
synced 2026-05-23 12:40:08 +00:00
fix(viz): use relative output path instead of hardcoded absolute path
Made-with: Cursor
This commit is contained in:
@@ -22,7 +22,7 @@ DATASETS = [
|
|||||||
{"repo_id": "lerobot-data-collection/level2_final_quality3", "label": "HQ curated"},
|
{"repo_id": "lerobot-data-collection/level2_final_quality3", "label": "HQ curated"},
|
||||||
{"repo_id": "lerobot-data-collection/level12_rac_2_2026-02-08_1", "label": "Full collection"},
|
{"repo_id": "lerobot-data-collection/level12_rac_2_2026-02-08_1", "label": "Full collection"},
|
||||||
]
|
]
|
||||||
OUTPUT_DIR = Path("/Users/pepijnkooijmans/Documents/GitHub_local/progress_videos")
|
OUTPUT_DIR = Path(__file__).resolve().parent / "outputs"
|
||||||
OUTPUT_DIR.mkdir(exist_ok=True)
|
OUTPUT_DIR.mkdir(exist_ok=True)
|
||||||
|
|
||||||
MAX_FRAMES = 10_000
|
MAX_FRAMES = 10_000
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ CAMERA_KEY = "observation.images.base"
|
|||||||
GRID_COLS = 15
|
GRID_COLS = 15
|
||||||
GRID_ROWS = 10
|
GRID_ROWS = 10
|
||||||
THUMB_WIDTH = 160
|
THUMB_WIDTH = 160
|
||||||
OUTPUT_DIR = Path("/Users/pepijnkooijmans/Documents/GitHub_local/progress_videos")
|
OUTPUT_DIR = Path(__file__).resolve().parent / "outputs"
|
||||||
OUTPUT_DIR.mkdir(exist_ok=True)
|
OUTPUT_DIR.mkdir(exist_ok=True)
|
||||||
SEED = 1
|
SEED = 1
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ DATASETS = [
|
|||||||
CAMERA_KEY = (
|
CAMERA_KEY = (
|
||||||
"observation.images.base" # None = auto-select first camera, or set e.g. "observation.images.top"
|
"observation.images.base" # None = auto-select first camera, or set e.g. "observation.images.top"
|
||||||
)
|
)
|
||||||
OUTPUT_DIR = Path("/Users/pepijnkooijmans/Documents/GitHub_local/progress_videos")
|
OUTPUT_DIR = Path(__file__).resolve().parent / "outputs"
|
||||||
OUTPUT_DIR.mkdir(exist_ok=True)
|
OUTPUT_DIR.mkdir(exist_ok=True)
|
||||||
|
|
||||||
# Progress line spans the full video height
|
# Progress line spans the full video height
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ DATASETS = [
|
|||||||
{"repo_id": "lerobot-data-collection/level2_final_quality3", "label": "HQ curated"},
|
{"repo_id": "lerobot-data-collection/level2_final_quality3", "label": "HQ curated"},
|
||||||
{"repo_id": "lerobot-data-collection/level12_rac_2_2026-02-08_1", "label": "Full collection"},
|
{"repo_id": "lerobot-data-collection/level12_rac_2_2026-02-08_1", "label": "Full collection"},
|
||||||
]
|
]
|
||||||
OUTPUT_DIR = Path("/Users/pepijnkooijmans/Documents/GitHub_local/progress_videos")
|
OUTPUT_DIR = Path(__file__).resolve().parent / "outputs"
|
||||||
OUTPUT_DIR.mkdir(exist_ok=True)
|
OUTPUT_DIR.mkdir(exist_ok=True)
|
||||||
|
|
||||||
N_CLUSTERS = 10
|
N_CLUSTERS = 10
|
||||||
|
|||||||
Reference in New Issue
Block a user