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_diffusion_toy

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

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

  • Libraries
  • TF-Keras

    How to use keras-dreambooth/dreambooth_diffusion_toy with TF-Keras:

    # Note: 'keras<3.x' or 'tf_keras' must be installed (legacy)
    # See https://github.com/keras-team/tf-keras for more details.
    from huggingface_hub import from_pretrained_keras
    
    model = from_pretrained_keras("keras-dreambooth/dreambooth_diffusion_toy")
    
  • Diffusers

    How to use keras-dreambooth/dreambooth_diffusion_toy 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_diffusion_toy", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "a photo of hks## toy"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
dreambooth_diffusion_toy
6.9 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 10 commits
vumichien's picture
vumichien
Wauplin's picture
Wauplin HF Staff
Set `library_name` to `tf-keras`. (#1)
0f57f3f verified about 2 years ago
  • variables
    Push Keras model using huggingface_hub. over 3 years ago
  • .gitattributes
    1.55 kB
    Push Keras model using huggingface_hub. over 3 years ago
  • README.md
    2.55 kB
    Set `library_name` to `tf-keras`. (#1) about 2 years ago
  • config.json
    21.6 kB
    Push Keras model using huggingface_hub. over 3 years ago
  • demo_01.png
    494 kB
    Upload 3 files over 3 years ago
  • demo_02.png
    932 kB
    Upload 3 files over 3 years ago
  • demo_03.png
    833 kB
    Upload 3 files over 3 years ago
  • dreambooth-unet.h5
    3.44 GB
    xet
    Upload dreambooth-unet.h5 over 3 years ago
  • fingerprint.pb
    55 Bytes
    xet
    Push Keras model using huggingface_hub. over 3 years ago
  • keras_metadata.pb
    861 kB
    xet
    Push Keras model using huggingface_hub. over 3 years ago
  • saved_model.pb
    20.8 MB
    xet
    Push Keras model using huggingface_hub. over 3 years ago