Use the download_data.py script to download specific datasets (3dod, upsampling, or raw). You can download data by specifying individual video_ids or by providing a CSV file containing split information.
Download by Video ID
To download specific videos, provide the dataset name, the --split (either Training or Validation), the --video_id (or multiple IDs), and the --download_dir.
python3 download_data.py [3dod/upsampling/raw] --split [Training/Validation] --video_id video_id1 video_id2 --download_dir YOUR_DATA_FOLDER
Download via CSV
To download based on a CSV file, provide the dataset name and the --video_id_csv path. The script will automatically determine the splits from the CSV.
python3 download_data.py [3dod/upsampling/raw] --video_id_csv CSV_PATH --download_dir YOUR_DATA_FOLDER
Special Options for Raw Dataset
- Laser Scanner Point Clouds: For the
raw dataset, add the --download_laser_scanner_point_cloud flag. - Specific Assets: For the
raw dataset, use --raw_dataset_assets to specify which types of data to download. Available assets include: mov, annotation, mesh, confidence, highres_depth, lowres_depth, lowres_wide.traj, lowres_wide, lowres_wide_intrinsics, ultrawide, ultrawide_intrinsics, vga_wide, and vga_wide_intrinsics.
# Example: Download a specific video from the raw dataset
python3 download_data.py raw --split Training --video_id 47333462 --download_dir /tmp/ARKitScenes/
# Example: Download all assets specified in a CSV for the 3DOD dataset
python3 download_data.py 3dod --video_id_csv threedod/3dod_train_val_splits.csv --download_dir /tmp/raw_ARKitScenes/
# Example: Download specific assets from the raw dataset using a CSV
python3 download_data.py raw --video_id_csv raw/raw_train_val_splits.csv --download_dir /tmp/ar_raw_all/ --raw_dataset_assets mov annotation mesh confidence highres_depth lowres_depth lowres_wide.traj lowres_wide lowres_wide_intrinsics ultrawide ultrawide_intrinsics vga_wide vga_wide_intrinsics