MambaRefine-CD / scripts /example_download.py
dineth18's picture
Upload folder using huggingface_hub
0d0ec29 verified
Raw
History Blame Contribute Delete
319 Bytes
#!/usr/bin/env python3
"""Download a released MambaRefine-CD checkpoint."""
from huggingface_hub import hf_hub_download
REPO_ID = "<HF_USERNAME_OR_ORG>/MambaRefine0cd"
FILENAME = "checkpoints/mambarefine_cd_whu_cd_best.pth"
if __name__ == "__main__":
print(hf_hub_download(repo_id=REPO_ID, filename=FILENAME))