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

  • Log In
  • Sign Up

YaYaB
/
sd-onepiece-diffusers4

Text-to-Image
Diffusers
TensorBoard
English
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
Model card Files Files and versions
xet
Metrics Training metrics Community
3

Instructions to use YaYaB/sd-onepiece-diffusers4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use YaYaB/sd-onepiece-diffusers4 with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("YaYaB/sd-onepiece-diffusers4", 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
sd-onepiece-diffusers4
5.48 GB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 7 commits
patrickvonplaten's picture
patrickvonplaten
Fix deprecation warning by changing `CLIPFeatureExtractor` to `CLIPImageProcessor`.
ece1a5f about 3 years ago
  • feature_extractor
    End of training over 3 years ago
  • logs
    End of training over 3 years ago
  • safety_checker
    End of training over 3 years ago
  • scheduler
    Add `clip_sample=False` to scheduler to make model compatible with DDIM. (#1) over 3 years ago
  • text_encoder
    End of training over 3 years ago
  • tokenizer
    End of training over 3 years ago
  • unet
    End of training over 3 years ago
  • vae
    Add `scale_factor` to vae config. (#2) about 3 years ago
  • .gitattributes
    1.38 kB
    initial commit over 3 years ago
  • .gitignore
    15 Bytes
    End of training over 3 years ago
  • README.md
    1.42 kB
    Update README.md over 3 years ago
  • model_index.json
    541 Bytes
    Fix deprecation warning by changing `CLIPFeatureExtractor` to `CLIPImageProcessor`. about 3 years ago