single-task-transfer-artifacts / experiments /multi_source_3task /repro /build_multi_source_targets.sh
single-task-transfer-artifacts / experiments /multi_source_3task /repro /build_multi_source_targets.sh
Download experiments/multi_source_3task/repro/build_multi_source_targets.sh from Chand0320/single-task-transfer-artifacts: direct link, hf CLI and curl.
- Browser
- Download file 777 Bytes
-
https://huggingface.co/datasets/Chand0320/single-task-transfer-artifacts/resolve/main/experiments/multi_source_3task/repro/build_multi_source_targets.sh
- Command line
-
hf download hf://datasets/Chand0320/single-task-transfer-artifacts/experiments/multi_source_3task/repro/build_multi_source_targets.sh
-
curl -L -o build_multi_source_targets.sh https://huggingface.co/datasets/Chand0320/single-task-transfer-artifacts/resolve/main/experiments/multi_source_3task/repro/build_multi_source_targets.sh
777 Bytes
| set -euo pipefail | |
| PROJECT_ROOT="${PROJECT_ROOT:-/workspace/single_task_transfer}" | |
| PYTHON="${PROJECT_ROOT}/envs/train/bin/python" | |
| RAW_ROOT="${PROJECT_ROOT}/data/raw/mimicgen_corl_2023" | |
| MANIFEST_DIR="${PROJECT_ROOT}/data/manifests/multi_source_targets" | |
| "${PYTHON}" "${PROJECT_ROOT}/scripts/build_multi_source_target_manifests.py" \ | |
| --raw-root "${RAW_ROOT}" --output-dir "${MANIFEST_DIR}" | |
| for task in mug_cleanup_o1 hammer_cleanup_d0; do | |
| CUDA_VISIBLE_DEVICES="" "${PYTHON}" "${PROJECT_ROOT}/scripts/build_mimicgen_rlds.py" \ | |
| --config "${task}" --raw-root "${RAW_ROOT}" \ | |
| --manifest-dir "${MANIFEST_DIR}" --output-root "${PROJECT_ROOT}/data/rlds" | |
| done | |
| touch "${PROJECT_ROOT}/data/rlds/.multi_source_targets_ready" | |
| echo MULTI_SOURCE_TARGETS_READY | |