Add inference code demo

#1
by BiliSakura - opened

Hi awesome contributions can you add a quick inference code demo

Owner

It's the same code as SAM 3: https://huggingface.co/docs/transformers/main/en/model_doc/sam3#usage-examples-with--transformers.

You just need to replace the model by model = Sam3LiteTextModel.from_pretrained("nielsr/efficient-sam-3-mobileclip-s0-ctx16").

BiliSakura changed discussion status to closed

Sign up or log in to comment