Instructions to use StonyBrook-CVLab/PixCell-256-Cell-ControlNet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use StonyBrook-CVLab/PixCell-256-Cell-ControlNet with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("StonyBrook-CVLab/PixCell-256-Cell-ControlNet", 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
Update README.md
Browse files
README.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
| 2 |
license: apache-2.0
|
| 3 |
---
|
| 4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
### Load PixCell-256-Cell-ControlNet model
|
| 6 |
|
| 7 |
```python
|
|
|
|
| 2 |
license: apache-2.0
|
| 3 |
---
|
| 4 |
|
| 5 |
+
<img src="pixcell_256_cell_controlnet_banner.png" alt="pixcell_256_cell_controlnet_banner" width="500"/>
|
| 6 |
+
|
| 7 |
+
# PixCell: A generative foundation model for digital histopathology images
|
| 8 |
+
|
| 9 |
+
[[🔬 PixCell-1024]](https://huggingface.co/StonyBrook-CVLab/PixCell-1024) [[🔬 PixCell-256]](https://huggingface.co/StonyBrook-CVLab/PixCell-256) [[🔬 Pixcell-256-Cell-ControlNet]](https://huggingface.co/StonyBrook-CVLab/PixCell-256-Cell-ControlNet) [[💾 Synthetic SBU-1M]](https://huggingface.co/datasets/StonyBrook-CVLab/Synthetic-SBU-1M)
|
| 10 |
+
|
| 11 |
+
|
| 12 |
### Load PixCell-256-Cell-ControlNet model
|
| 13 |
|
| 14 |
```python
|