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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

mokshhere
/
skin-lesion-boundary-diffusion

Diffusers
Safetensors
diffusion
medical-imaging
dermoscopy
skin-lesion
inpainting
stable-diffusion
Model card Files Files and versions
xet
Community

Instructions to use mokshhere/skin-lesion-boundary-diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use mokshhere/skin-lesion-boundary-diffusion with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("mokshhere/skin-lesion-boundary-diffusion", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
skin-lesion-boundary-diffusion
10.5 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
mokshhere's picture
mokshhere
Add L3 alpha-conditioned lesion UNet (5-channel conv_in)
b9dc7e0 verified 1 day ago
  • mask_ddpm_full
    Add mask DDPM 1 day ago
  • sd_background_full
    Add background-restoration UNet 1 day ago
  • sd_lesion_alphacond
    Add L3 alpha-conditioned lesion UNet (5-channel conv_in) 1 day ago
  • sd_lesion_full
    Add L1 lesion UNet (hard-mask pipeline) 1 day ago
  • .gitattributes
    1.52 kB
    initial commit 1 day ago
  • README.md
    4.53 kB
    Add model card 1 day ago