How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("anic87/crc-tumor-normal-text", dtype=torch.bfloat16, device_map="cuda")

prompt = "a photo of sks tissue-histology-without-tumor"
image = pipe(prompt).images[0]

YAML Metadata Error:"base_model" with value "/projects/ac67/projects/diffusers/examples/dreambooth/crc-tumor-text/" is not valid. Use a model id from https://hf.co/models.

DreamBooth - anic87/crc-tumor-normal-text

This is a dreambooth model derived from /projects/ac67/projects/diffusers/examples/dreambooth/crc-tumor-text/. The weights were trained on a photo of sks tissue-histology-without-tumor using DreamBooth. You can find some example images in the following.

img_0 img_1 img_2 img_3

DreamBooth for the text encoder was enabled: True.

Downloads last month
1
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support