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:
- ad2b631fa7abe23a9a4a85e78ddcd03193c7ba9086bb05789bf1aa383de5db46
- Size of remote file:
- 54 Bytes
- SHA256:
- 06033f3a557337552464c4e90efa54fe7755cfed499b890f7cf597acd3eb1159
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.