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

mahmoudibra98
/
compdiff-fundus

Text-to-Image
Diffusers
Safetensors
StableDiffusionPipeline
stable-diffusion
medical-imaging
fundus
compdiff
Model card Files Files and versions
xet
Community

Instructions to use mahmoudibra98/compdiff-fundus with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use mahmoudibra98/compdiff-fundus with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("mahmoudibra98/compdiff-fundus", 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
  • Local Apps Settings
  • Draw Things
  • DiffusionBee
compdiff-fundus
5.17 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 14 commits
mahmoudibra98's picture
mahmoudibra98
Upload compdiff_pipeline.py with huggingface_hub
a521d20 verified 1 day ago
  • feature_extractor
    Add CompDiff model (diffusers layout + HCN) 1 day ago
  • hcn
    Add CompDiff model (diffusers layout + HCN) 1 day ago
  • scheduler
    Add CompDiff model (diffusers layout + HCN) 1 day ago
  • text_encoder
    Add CompDiff model (diffusers layout + HCN) 1 day ago
  • tokenizer
    Add CompDiff model (diffusers layout + HCN) 1 day ago
  • unet
    Add CompDiff model (diffusers layout + HCN) 1 day ago
  • vae
    Add CompDiff model (diffusers layout + HCN) 1 day ago
  • .gitattributes
    1.52 kB
    initial commit 1 day ago
  • README.md
    6.84 kB
    Upload README.md with huggingface_hub 1 day ago
  • compdiff_pipeline.py
    7.76 kB
    Upload compdiff_pipeline.py with huggingface_hub 1 day ago
  • hcn_v7.py
    26.9 kB
    Add CompDiff model (diffusers layout + HCN) 1 day ago
  • model_index.json
    643 Bytes
    Add CompDiff model (diffusers layout + HCN) 1 day ago
  • training_config.yaml
    4.63 kB
    Add CompDiff model (diffusers layout + HCN) 1 day ago