Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update stats for Pusht and Aloha datasets (v1.0 -> v1.1) #39

Merged
merged 2 commits into from
Mar 20, 2024

Conversation

Cadene
Copy link
Collaborator

@Cadene Cadene commented Mar 20, 2024

New format for stats (1 c -> c, 1 c 1 1 -> c 1 1) since #26 which introduces breaking change for v1.0

pusht
aloha_sim_insertion_human
aloha_sim_insertion_scripted
aloha_sim_transfer_cube_human
aloha_sim_transfer_cube_scripted

HF_USER=cadene
DATASET=aloha_sim_transfer_cube_scripted

mkdir -p data/$DATASET
HF_HUB_ENABLE_HF_TRANSFER=1 huggingface-cli download ${HF_USER}/$DATASET \
--repo-type dataset \
--local-dir data/$DATASET \
--local-dir-use-symlinks=False \
--revision v1.0

rm data/$DATASET/stats.pth

DATA_DIR=data python -sx tests

HF_HUB_ENABLE_HF_TRANSFER=1 huggingface-cli upload $HF_USER/$DATASET data/$DATASET \
--repo-type dataset \
--revision v1.1 \
--delete stats.pth

mv tests/data/$DATASET /tmp/tests/data_old/${DATASET}

python tests/scripts/mock_dataset.py --in-data-dir data/$DATASET --out-data-dir tests/data/$DATASET

DATA_DIR=tests/data python -sx tests

@Cadene Cadene force-pushed the user/rcadene/2024_03_20_update_stats_v1.1 branch from bdf24fd to f23a53c Compare March 20, 2024 17:37
@Cadene Cadene requested a review from aliberts March 20, 2024 17:39
Copy link
Collaborator

@aliberts aliberts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@Cadene Cadene merged commit 2b02210 into main Mar 20, 2024
1 check passed
@aliberts aliberts deleted the user/rcadene/2024_03_20_update_stats_v1.1 branch April 27, 2024 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants