Pipeline for Meta's SAM not available yet?
I’m trying to run the code in thistutorialmade by HF to run the new Segment Anything model.Problem is, I can’t actually import it.Here is the code:from transformers import pipeline
generator = pipeline("mask-generation", model="facebook/sam-vit-huge", device=0)And the error:641 
    642     def __getitem__(self, key):
--> 643         if key in self._extra_content:
    644             return self._extra_content[key]
    645         if key not in self._mapping:

KeyError: 'sam'Am I missing something here?
2023-04-21T13:47:20Z
You need a source install as this was just added to Transformers.
2023-04-21T16:05:09Z
I uninstalled transformers and reinstalled using this command:!pip install -q git+https://github.com/huggingface/transformers.gitthe installed version is:4.29.0.dev0However the error remains, is this the right version?
2023-04-23T16:30:17Z
Edit: it works now.
2023-11-13T21:48:18Z
what changed?