Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

j-min
/
reco_sd14_coco

Text-to-Image
Diffusers
Safetensors
English
StableDiffusionPipeline
reco
layout-to-image
Model card Files Files and versions
xet
Community
1

Instructions to use j-min/reco_sd14_coco with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use j-min/reco_sd14_coco with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("j-min/reco_sd14_coco", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "A box contains six donuts with varying types of glazes and toppings. <|endoftext|> <bin514> <bin575> <bin741> <bin765> <|startoftext|> chocolate donut. <|endoftext|> <bin237> <bin517> <bin520> <bin784> <|startoftext|> dark vanilla donut. <|endoftext|> <bin763> <bin575> <bin988> <bin745> <|startoftext|> donut with sprinkles. <|endoftext|> <bin234> <bin281> <bin524> <bin527> <|startoftext|> donut with powdered sugar. <|endoftext|> <bin515> <bin259> <bin767> <bin514> <|startoftext|> pink donut. <|endoftext|> <bin753> <bin289> <bin958> <bin506> <|startoftext|> brown donut. <|endoftext|>"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
reco_sd14_coco
11 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 9 commits
j-min's picture
j-min
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#1)
74a0a8b verified 5 months ago
  • feature_extractor
    First model version over 2 years ago
  • safety_checker
    Adding `safetensors` variant of this model (#1) 5 months ago
  • scheduler
    First model version over 2 years ago
  • text_encoder
    Adding `safetensors` variant of this model (#1) 5 months ago
  • tokenizer
    First model version over 2 years ago
  • unet
    Adding `safetensors` variant of this model (#1) 5 months ago
  • vae
    Adding `safetensors` variant of this model (#1) 5 months ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    5.29 kB
    Update README.md over 2 years ago
  • model_index.json
    579 Bytes
    First model version over 2 years ago