Closed mehrnia closed 4 weeks ago
It seems that you are using powershell while this is a bash script. You can download the file found here to the same directory and use the following command:
powershell -ExecutionPolicy Bypass -File .\download_checkpoints.ps1
I noticed that powershell download can sometimes be slow. So you can alternatively download your desired checkpoints manually using the following urls: https://dl.fbaipublicfiles.com/segment_anything_2/072824/sam2_hiera_tiny.pt https://dl.fbaipublicfiles.com/segment_anything_2/072824/sam2_hiera_small.pt https://dl.fbaipublicfiles.com/segment_anything_2/072824/sam2_hiera_base_plus.pt https://dl.fbaipublicfiles.com/segment_anything_2/072824/sam2_hiera_large.pt
The first one is usually enough.
Thank you I actually I did it.
https://dl.fbaipublicfiles.com/segment_anything_2/072824/
actually when I run ./download_ckpts.sh, nothing happens