diff --git a/download_sam2_configs.sh b/download_sam2_configs.sh new file mode 100644 index 0000000..984f66a --- /dev/null +++ b/download_sam2_configs.sh @@ -0,0 +1,17 @@ +#!/bin/bash +# Download SAM2 model configuration files + +echo "📥 Downloading SAM2 configuration files..." + +mkdir -p sam2_configs +cd sam2_configs + +# Download SAM2 config files +wget -q --show-progress https://raw.githubusercontent.com/facebookresearch/segment-anything-2/main/sam2_configs/sam2_hiera_b+.yaml +wget -q --show-progress https://raw.githubusercontent.com/facebookresearch/segment-anything-2/main/sam2_configs/sam2_hiera_l.yaml +wget -q --show-progress https://raw.githubusercontent.com/facebookresearch/segment-anything-2/main/sam2_configs/sam2_hiera_s.yaml +wget -q --show-progress https://raw.githubusercontent.com/facebookresearch/segment-anything-2/main/sam2_configs/sam2_hiera_t.yaml + +cd .. + +echo "✅ SAM2 configs downloaded to sam2_configs/" \ No newline at end of file