Skip to content

Malformed .zgroup file for mission 2024-10-01-11-29-55. #22

@chrisoffner3d

Description

@chrisoffner3d

"source": [
"from huggingface_hub import snapshot_download\n",
"\n",
"# Specify the mission you want to download.\n",
"mission = \"2024-11-02-17-18-32\"\n",
"\n",
"# Download the full dataset\n",
"allow_patterns = [f\"*\"]\n",
"\n",
"# Download all data from a single mission\n",
"allow_patterns = [f\"{mission}/*\"]\n",
"\n",
"# Download a specific topic\n",
"# topic = \"alphasense_front_center\"\n",
"# allow_patterns = [f\"{mission}/*{topic}*\", f\"{mission}/*.yaml\"]\n",
"\n",
"\n",
"# to only include a subset of the \n",
"\n",
"# If this is interuppted during download, simply re-run the block and huggingface_hub will resume the download without re-downloading the already downloaded files.\n",
"hugging_face_data_cache_path = snapshot_download(repo_id=\"leggedrobotics/grand_tour_dataset\", allow_patterns=allow_patterns, repo_type=\"dataset\")"
]

When I try to follow the examples_hugging_face/notebooks/access.ipynb tutorial while setting mission = 2024-10-01-11-29-55, as expected by the follow-up explore.ipynb and mentioned in the Markdown of access.ipynb itself, the line root = zarr.group(store=store) fails because apparently the .zgroup file is malformed:

2024-10-01-11-29-55/data/.zgroup:

{
 a   "zarr_format": 3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions