-
Notifications
You must be signed in to change notification settings - Fork 559
Closed
Description
Hi @NielsRogge , Sorry to bother you !
We recently open-sourced an excellent model, named sam2++. But, the download count for my model cannot be counted.
The following code will download model weights from huggingface.
import torch
from sam2_plus.sam2_video_predictor import SAM2VideoPredictor_Plus
predictor = SAM2VideoPredictor_Plus.from_pretrained("MCG-NJU/SAM2-Plus")
I tried to find out the reason, and found https://huggingface.co/docs/hub/models-download-stats said config.json was needed.
However, when I tried manually downloading it using the following code, it still didn't work.
from transformers import PretrainedConfig
cfg = PretrainedConfig.from_pretrained("MCG-NJU/SAM2-Plus")
print(cfg)
Do you have any good suggestions? I would be very grateful.
Metadata
Metadata
Assignees
Labels
No labels