segment-anything
segment-anything copied to clipboard
State_dict mismatch with the huggingface model
I stumbled upon a problem: the models have different amount of keys in their state_dicts. Can you please provide a conversion script?
Conversion script is here: https://github.com/huggingface/transformers/blob/main/src/transformers/models/sam/convert_sam_original_to_hf_format.py