Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

naclbit
/
trinart_stable_diffusion_v2

Text-to-Image
Diffusers
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
Model card Files Files and versions
xet
Community
16

Instructions to use naclbit/trinart_stable_diffusion_v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use naclbit/trinart_stable_diffusion_v2 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("naclbit/trinart_stable_diffusion_v2", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps
  • Draw Things
  • DiffusionBee
trinart_stable_diffusion_v2
11.9 GB
Ctrl+K
Ctrl+K
  • 6 contributors
History: 31 commits
naclbit's picture
naclbit
patrickvonplaten's picture
patrickvonplaten
Fix deprecation warning by changing `CLIPFeatureExtractor` to `CLIPImageProcessor`. (#15)
c32b10d about 3 years ago
  • feature_extractor
    Add DIffusers weights (#9) over 3 years ago
  • safety_checker
    Add DIffusers weights (#9) over 3 years ago
  • scheduler
    Add `clip_sample=False` to scheduler to make model compatible with DDIM. (#12) over 3 years ago
  • text_encoder
    Add DIffusers weights (#9) over 3 years ago
  • tokenizer
    Add DIffusers weights (#9) over 3 years ago
  • unet
    Correct `sample_size` of Stable Diffusion 1's unet to have correct width and height default (#11) over 3 years ago
  • vae
    Add `scale_factor` to vae config. (#14) over 3 years ago
  • .gitattributes
    1.57 kB
    Upload trinart2_step115000.ckpt over 3 years ago
  • README.md
    5.27 kB
    Update README.md over 3 years ago
  • model_index.json
    541 Bytes
    Fix deprecation warning by changing `CLIPFeatureExtractor` to `CLIPImageProcessor`. (#15) about 3 years ago
  • trinart2_step115000.ckpt
    2.13 GB
    xet
    Upload trinart2_step115000.ckpt over 3 years ago
  • trinart2_step60000.ckpt
    2.13 GB
    xet
    Upload trinart2_step60000.ckpt over 3 years ago
  • trinart2_step95000.ckpt
    2.13 GB
    xet
    Upload trinart2_step95000.ckpt over 3 years ago