MCPcopy Index your code
hub / github.com/KKallidromitis/SA-1B-Downloader

github.com/KKallidromitis/SA-1B-Downloader @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
1 symbols 7 edges 1 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

SA-1B-Downloader

Simple script using GPT-4 to parallelize download and extract files for SA-1B Dataset.

Requirements

  • Python >= 3.6
  • requests >= 2.0

Install with:

pip install requests

Usage

The download.py script uses the sa1b_links.txt file by default as the input file for downloading and extracting images:

python download.py --processes 4 --input_file sa1b_links.txt --raw_dir raw --images_dir images --masks_dir annotations

The download.py script takes the following command-line arguments:

--processes: The number of processes to use for downloading and extracting files (default: 4)
--input_file: The path to the input file containing file names and URLs (default: 'sa1b.txt')
--raw_dir: The directory to store downloaded files (default: 'raw')
--images_dir: The directory to store extracted jpg files (default: 'images')
--masks_dir: The directory to store extracted json files (default: 'annotations')
--skip_existing: Skip extraction if the file has already been extracted (default: False)

Core symbols most depended-on inside this repo

Shape

Function 1

Languages

Python100%

Modules by API surface

download.py1 symbols

For agents

$ claude mcp add SA-1B-Downloader \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page