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
- Xet hash:
- d40715e74d1a7e5fd5bf7ef1031b6e4606615c8f3f67d35c3bf04afc7f4cb662
- Size of remote file:
- 20.8 MB
- SHA256:
- f44bb48a71d46e937b871314695b483383e1e11f80c61fd7558b4a9a69b768d3
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.