--- license: gpl-3.0 task_categories: - tabular-classification - tabular-regression - image-to-3d - depth-estimation pretty_name: AD Trajectories size_categories: - 100K The ball spin (rotations.npy) is defined in relation to the ball's local coordinate system. The direction of which is defined as follows: Definition of the ball's local coordinate system --- # Download the Dataset You can download the specific tar file using the hf_hub_download function. This is more efficient than cloning the entire repository if you only need the archive. Python ``` from huggingface_hub import hf_hub_download ``` ``` REPO_ID = "XSpaceCoderX/AD-Rallies" FILENAME = "data.tar" print(f"Downloading {FILENAME}...") local_path = hf_hub_download( repo_id=REPO_ID, filename=FILENAME, repo_type="dataset" ) print(f"File downloaded to: {local_path}") ``` ## Unpack the Dataset Once downloaded, you can extract the contents using Python's built-in tarfile module or a system command. Option A: Using Python (Cross-platform) This is the recommended way to ensure compatibility across Windows, macOS, and Linux. ``` import tarfile import os def extract_tar(file_path, extract_path="."): print(f"Extracting {file_path}...") with tarfile.open(file_path, "r") as tar: tar.extractall(path=extract_path) print("Extraction complete!") ``` Note: Make sure you have at least 180GB of free disk space (87 GB for the archive + 100 GB for the extracted contents).