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

a12donhf
/
CPathOGen

Diffusers
Safetensors
English
histopathology
he-staining
breast-cancer
diffusion
counterfactuals
explainability
film
conditional-image-generation
Model card Files Files and versions
xet
Community

Instructions to use a12donhf/CPathOGen with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use a12donhf/CPathOGen with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("a12donhf/CPathOGen", 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
CPathOGen / assets
6.88 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
a12donhf's picture
a12donhf
Add paper figures and a runnable single-tile example
f6f8194 verified 7 days ago
  • README.md
    965 Bytes
    Add paper figures and a runnable single-tile example 7 days ago
  • morphology_controls.png
    4.42 MB
    xet
    Add paper figures and a runnable single-tile example 7 days ago
  • pipeline.png
    431 kB
    xet
    Add paper figures and a runnable single-tile example 7 days ago
  • principle.png
    19.9 kB
    Add paper figures and a runnable single-tile example 7 days ago
  • spatial_fidelity.png
    2 MB
    xet
    Add paper figures and a runnable single-tile example 7 days ago