downlad sam2 configs
This commit is contained in:
17
download_sam2_configs.sh
Normal file
17
download_sam2_configs.sh
Normal 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/"
|
||||
Reference in New Issue
Block a user