SA1B Dataset Preparation

November 19, 2025 · View on GitHub

Follow the steps below to prepare the SA1B Dataset for SAM-3D-Body Data.


  • Set the following environment variables to simplify directory references:

    export SA1B_IMG_DIR=/path/to/sa1b/images
    
  • Download and extract the SA1B dataset.

  • $SA1B_IMG_DIR should follow the directory structure below.

    $SA1B_IMG_DIR
    ├── sa_xxxxxxx.jpg
    └── .......