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

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 / ldm
304 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
BiliSakura's picture
BiliSakura
Add files using upload-large-folder tool
cd99f4e verified 3 months ago
  • data
    Add files using upload-large-folder tool 3 months ago
  • models
    Add files using upload-large-folder tool 3 months ago
  • modules
    Add files using upload-large-folder tool 3 months ago
  • lr_scheduler.py
    3.81 kB
    Add files using upload-large-folder tool 3 months ago
  • util.py
    7.61 kB
    Add files using upload-large-folder tool 3 months ago