From a45802c281aeb50f64b6dcf87edd4debc3599e64 Mon Sep 17 00:00:00 2001 From: Cadene Date: Fri, 8 Mar 2024 18:07:49 +0000 Subject: [PATCH] Remove download.py add a WIP for Simxarm --- lerobot/scripts/download.py | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 lerobot/scripts/download.py diff --git a/lerobot/scripts/download.py b/lerobot/scripts/download.py deleted file mode 100644 index ac935f48..00000000 --- a/lerobot/scripts/download.py +++ /dev/null @@ -1,22 +0,0 @@ -# TODO(rcadene): obsolete remove -import os -import zipfile - -import gdown - - -def download(): - url = "https://drive.google.com/uc?id=1nhxpykGtPDhmQKm-_B8zBSywVRdgeVya" - download_path = "data.zip" - gdown.download(url, download_path, quiet=False) - print("Extracting...") - with zipfile.ZipFile(download_path, "r") as zip_f: - for member in zip_f.namelist(): - if member.startswith("data/xarm") and member.endswith(".pkl"): - print(member) - zip_f.extract(member=member) - os.remove(download_path) - - -if __name__ == "__main__": - download()