mirror of
https://www.modelscope.cn/Wan-AI/Wan2.2-Animate-14B.git
synced 2026-04-02 19:12:58 +08:00
Upload to Wan-AI/Wan2.2-Animate-14B on ModelScope hub
This commit is contained in:
31
process_checkpoint/sam2/download_ckpts.sh
Normal file
31
process_checkpoint/sam2/download_ckpts.sh
Normal file
@ -0,0 +1,31 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
# All rights reserved.
|
||||
|
||||
# This source code is licensed under the license found in the
|
||||
# LICENSE file in the root directory of this source tree.
|
||||
|
||||
|
||||
# Define the URLs for the checkpoints
|
||||
BASE_URL="https://dl.fbaipublicfiles.com/segment_anything_2/072824/"
|
||||
sam2_hiera_t_url="${BASE_URL}sam2_hiera_tiny.pt"
|
||||
sam2_hiera_s_url="${BASE_URL}sam2_hiera_small.pt"
|
||||
sam2_hiera_b_plus_url="${BASE_URL}sam2_hiera_base_plus.pt"
|
||||
sam2_hiera_l_url="${BASE_URL}sam2_hiera_large.pt"
|
||||
|
||||
|
||||
# Download each of the four checkpoints using wget
|
||||
echo "Downloading sam2_hiera_tiny.pt checkpoint..."
|
||||
wget $sam2_hiera_t_url || { echo "Failed to download checkpoint from $sam2_hiera_t_url"; exit 1; }
|
||||
|
||||
echo "Downloading sam2_hiera_small.pt checkpoint..."
|
||||
wget $sam2_hiera_s_url || { echo "Failed to download checkpoint from $sam2_hiera_s_url"; exit 1; }
|
||||
|
||||
echo "Downloading sam2_hiera_base_plus.pt checkpoint..."
|
||||
wget $sam2_hiera_b_plus_url || { echo "Failed to download checkpoint from $sam2_hiera_b_plus_url"; exit 1; }
|
||||
|
||||
echo "Downloading sam2_hiera_large.pt checkpoint..."
|
||||
wget $sam2_hiera_l_url || { echo "Failed to download checkpoint from $sam2_hiera_l_url"; exit 1; }
|
||||
|
||||
echo "All checkpoints are downloaded successfully."
|
||||
3
process_checkpoint/sam2/sam2_hiera_base_plus.pt
Normal file
3
process_checkpoint/sam2/sam2_hiera_base_plus.pt
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d0bb7f236400a49669ffdd1be617959a8b1d1065081789d7bbff88eded3a8071
|
||||
size 323493298
|
||||
3
process_checkpoint/sam2/sam2_hiera_large.pt
Normal file
3
process_checkpoint/sam2/sam2_hiera_large.pt
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7442e4e9b732a508f80e141e7c2913437a3610ee0c77381a66658c3a445df87b
|
||||
size 897952466
|
||||
3
process_checkpoint/sam2/sam2_hiera_small.pt
Normal file
3
process_checkpoint/sam2/sam2_hiera_small.pt
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:95949964d4e548409021d47b22712d5f1abf2564cc0c3c765ba599a24ac7dce3
|
||||
size 184309650
|
||||
3
process_checkpoint/sam2/sam2_hiera_tiny.pt
Normal file
3
process_checkpoint/sam2/sam2_hiera_tiny.pt
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:65b50056e05bcb13694174f51bb6da89c894b57b75ccdf0ba6352c597c5d1125
|
||||
size 155906050
|
||||
Reference in New Issue
Block a user