Semantic-Segment-Anything icon indicating copy to clipboard operation
Semantic-Segment-Anything copied to clipboard

OneFormerProcessor

Open fujianhai opened this issue 1 year ago • 2 comments

加载下载好的模型, oneformer出错,huggingface_hub.utils._validators.HFValidationError: Repo id must be in the form 'repo_name' or 'namespace/repo_name':

oneformer_ade20k_processor = OneFormerProcessor.from_pretrained("shi-labs/oneformer_ade20k_swin_large") oneformer_ade20k_model = OneFormerForUniversalSegmentation.from_pretrained("shi-labs/oneformer_ade20k_swin_large").to(rank)

fujianhai avatar Apr 24 '23 08:04 fujianhai

oneformer_ade20k_processor = OneFormerProcessor.from_pretrained("/xxx/HuggingFace/oneformer_ade20k_swin_large/")

fujianhai avatar Apr 24 '23 08:04 fujianhai

Same problem, the oneformer processor tries to download from huggingface even if I input the local model path.

捕获

How to load other annotation models instead?

XingTian1994 avatar Mar 20 '24 03:03 XingTian1994