Instructions to use busetolunay/sam2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use busetolunay/sam2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("busetolunay/sam2") prompt = "s34m is happily eating a burger and fries at a diner. Diner is car and race themed." image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Ctrl+K
- 302 kB xet
- 351 kB xet
- 313 kB xet
- 387 kB xet
- 337 kB xet
- 512 kB xet
- 300 kB xet
- 371 kB xet
- 295 kB xet
- 325 kB xet
- 319 kB xet
- 332 kB xet
- 323 kB xet
- 389 kB xet
- 303 kB xet
- 368 kB xet
- 305 kB xet
- 333 kB xet
- 276 kB xet
- 356 kB xet
- 307 kB xet
- 344 kB xet
- 279 kB xet
- 343 kB xet
- 304 kB xet
- 398 kB xet
- 313 kB xet
- 360 kB xet
- 268 kB xet
- 331 kB xet
- 295 kB xet
- 330 kB xet
- 315 kB xet
- 323 kB xet
- 297 kB xet
- 347 kB xet
- 306 kB xet
- 363 kB xet
- 299 kB xet
- 338 kB xet
- 333 kB xet
- 368 kB xet
- 317 kB xet
- 342 kB xet
- 317 kB xet
- 353 kB xet
- 309 kB xet
- 343 kB xet
- 302 kB xet
- 344 kB xet