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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

keras-dreambooth
/
dreambooth-pug-ace

Text-to-Image
Keras
TF-Keras
Diffusers
stable-diffusion
diffusion-models-class
keras-dreambooth
nature
Model card Files Files and versions
xet
Community
1

Instructions to use keras-dreambooth/dreambooth-pug-ace with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Keras

    How to use keras-dreambooth/dreambooth-pug-ace with Keras:

    # Available backend options are: "jax", "torch", "tensorflow".
    import os
    os.environ["KERAS_BACKEND"] = "jax"
    
    import keras
    
    model = keras.saving.load_model("hf://keras-dreambooth/dreambooth-pug-ace")
    
  • Diffusers

    How to use keras-dreambooth/dreambooth-pug-ace with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("keras-dreambooth/dreambooth-pug-ace", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "a photo of puggieace dog on the beach, sunset in background"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
dreambooth-pug-ace / examples
1.36 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
nielsgl's picture
nielsgl
Upload examples with huggingface_hub
3343c6a over 3 years ago
  • armor-2.1.jpg
    107 kB
    Upload examples with huggingface_hub over 3 years ago
  • astronaut-1.4.jpg
    111 kB
    Upload examples with huggingface_hub over 3 years ago
  • astronaut-2.1.jpg
    124 kB
    Upload examples with huggingface_hub over 3 years ago
  • beach-1.4.jpg
    110 kB
    Upload examples with huggingface_hub over 3 years ago
  • emperor-1.4.jpeg
    130 kB
    Upload examples with huggingface_hub over 3 years ago
  • emperor-2.1.jpg
    124 kB
    Upload examples with huggingface_hub over 3 years ago
  • haircut-2.1.jpg
    112 kB
    Upload examples with huggingface_hub over 3 years ago
  • ny-2.1.jpg
    131 kB
    Upload examples with huggingface_hub over 3 years ago
  • pool-1.4.jpg
    160 kB
    Upload examples with huggingface_hub over 3 years ago
  • samurai-2.1.jpg
    114 kB
    Upload examples with huggingface_hub over 3 years ago
  • superhero-1.4.jpg
    135 kB
    Upload examples with huggingface_hub over 3 years ago