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
4.16 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
a12donhf's picture
a12donhf
Add paper figures and a runnable single-tile example
f6f8194 verified about 14 hours ago
  • assets
    Add paper figures and a runnable single-tile example about 14 hours ago
  • checkpoint-30000
    Release original CPathOGen inference checkpoint 1 day ago
  • examples
    Add paper figures and a runnable single-tile example about 14 hours ago
  • .gitattributes
    1.79 kB
    Add paper figures and a runnable single-tile example about 14 hours ago
  • LICENSE-MODEL
    14.2 kB
    Add model card, original model license, and checksums 1 day ago
  • README.md
    9.55 kB
    Add paper figures and a runnable single-tile example about 14 hours ago
  • release_manifest.json
    1.44 kB
    Add model card, original model license, and checksums 1 day ago