downlad sam2 configs

This commit is contained in:
2025-07-26 08:07:31 -07:00
parent eeed9ee578
commit 8f9f021f96

17
download_sam2_configs.sh Normal file
View File

@@ -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/"