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/spatial_encoder.pt from a12donhf/CPathOGen: direct link, hf CLI and curl.
- Browser
- Download file 382 kB
-
https://huggingface.co/a12donhf/CPathOGen/resolve/main/checkpoint-30000/spatial_encoder.pt
- Command line
-
hf download hf://a12donhf/CPathOGen/checkpoint-30000/spatial_encoder.pt
-
curl -L -o spatial_encoder.pt https://huggingface.co/a12donhf/CPathOGen/resolve/main/checkpoint-30000/spatial_encoder.pt
382 kB
- Xet hash:
- 645663c1d007eb815a3599fe5d345b8ead271c34192adad01be4486be8dca0aa
- Size of remote file:
- 382 kB
- SHA256:
- 2dad7d99092902f9adbf11b7c1a0b461cef5b14b7cd9cae870694ed742b21149
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.