Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

BiliSakura
/
ZoomLDM-brca

Image-to-Image
Diffusers
Safetensors
ZoomLDMPipeline
zoomldm
histopathology
brca
latent-diffusion
custom-pipeline
arxiv:2411.16969
Model card Files Files and versions
xet
Community

Instructions to use BiliSakura/ZoomLDM-brca with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use BiliSakura/ZoomLDM-brca with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    from diffusers.utils import load_image
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("BiliSakura/ZoomLDM-brca", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Turn this cat into a dog"
    input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png")
    
    image = pipe(image=input_image, prompt=prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
ZoomLDM-brca
1.98 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
BiliSakura's picture
BiliSakura
Add files using upload-large-folder tool
8a1b910 verified 2 months ago
  • __pycache__
    Add files using upload-large-folder tool 2 months ago
  • conditioning_encoder
    Add files using upload-large-folder tool 2 months ago
  • demo_data
    Add files using upload-large-folder tool 2 months ago
  • demo_images
    Add files using upload-large-folder tool 2 months ago
  • ldm
    Add files using upload-large-folder tool 2 months ago
  • scheduler
    Add files using upload-large-folder tool 2 months ago
  • unet
    Add files using upload-large-folder tool 2 months ago
  • vae
    Add files using upload-large-folder tool 2 months ago
  • .gitattributes
    1.52 kB
    initial commit 2 months ago
  • README.md
    2.88 kB
    Add files using upload-large-folder tool 2 months ago
  • model_index.json
    414 Bytes
    Add files using upload-large-folder tool 2 months ago
  • pipeline_zoomldm.py
    22.2 kB
    Add files using upload-large-folder tool 2 months ago
  • run_demo_inference.py
    2.13 kB
    Add files using upload-large-folder tool 2 months ago