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

keras-dreambooth
/
dreambooth_diffusion_clay_cups

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

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

  • Libraries
  • Keras

    How to use keras-dreambooth/dreambooth_diffusion_clay_cups 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_diffusion_clay_cups")
    
  • Diffusers

    How to use keras-dreambooth/dreambooth_diffusion_clay_cups 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_clay_cups", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "a photo of traditional cups image in bng clay style"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
dreambooth_diffusion_clay_cups / variables
3.44 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Shamima's picture
Shamima
Push Keras model using huggingface_hub.
d0b413b about 3 years ago
  • variables.data-00000-of-00001
    3.44 GB
    xet
    Push Keras model using huggingface_hub. about 3 years ago
  • variables.index
    40.5 kB
    Push Keras model using huggingface_hub. about 3 years ago