Diffusers
Safetensors
English
histopathology
he-staining
breast-cancer
diffusion
counterfactuals
explainability
film
conditional-image-generation
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
Download checkpoint-30000/film_mlps.pt from a12donhf/CPathOGen: direct link, hf CLI and curl.
- Browser
- Download file 179 MB
-
https://huggingface.co/a12donhf/CPathOGen/resolve/main/checkpoint-30000/film_mlps.pt
- Command line
-
hf download hf://a12donhf/CPathOGen/checkpoint-30000/film_mlps.pt
-
curl -L -o film_mlps.pt https://huggingface.co/a12donhf/CPathOGen/resolve/main/checkpoint-30000/film_mlps.pt
179 MB
- Xet hash:
- 918088c13a512d88d2f0ce4424ba3f5dfb52bc8a4d3581e9421e38becbd3c5c9
- Size of remote file:
- 179 MB
- SHA256:
- f7d38f4173aee2021fe205b27c9aa1707f92b1b46d09d5ae9874cda4990b73c2
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.