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 / examples /paper_tile
572 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
a12donhf's picture
a12donhf
Add paper figures and a runnable single-tile example
f6f8194 verified about 20 hours ago
  • README.md
    846 Bytes
    Add paper figures and a runnable single-tile example about 20 hours ago
  • input_map.png
    55.7 kB
    Add paper figures and a runnable single-tile example about 20 hours ago
  • map.npz
    13.9 kB
    xet
    Add paper figures and a runnable single-tile example about 20 hours ago
  • metadata.json
    695 Bytes
    Add paper figures and a runnable single-tile example about 20 hours ago
  • morphology.json
    600 Bytes
    Add paper figures and a runnable single-tile example about 20 hours ago
  • reference_generated.png
    500 kB
    xet
    Add paper figures and a runnable single-tile example about 20 hours ago