Spaces:
Running
Running
Update README with better feature descriptions and GPU info
Browse files
README.md
CHANGED
|
@@ -16,13 +16,20 @@ hardware: cpu-basic
|
|
| 16 |
Virtual staining of H&E histopathology images to IHC (HER2, Ki67, ER, PR) using a single unified 42M-parameter SPADE-UNet conditioned on dense spatial tokens from a frozen UNI pathology foundation model.
|
| 17 |
|
| 18 |
## Features
|
| 19 |
-
|
| 20 |
-
- **
|
| 21 |
-
- **
|
|
|
|
| 22 |
|
| 23 |
## Architecture
|
|
|
|
| 24 |
| Component | Details |
|
| 25 |
|-----------|---------|
|
| 26 |
| Generator | SPADE-UNet with UNI spatial conditioning + FiLM stain embeddings |
|
| 27 |
| UNI Features | 4x4 sub-crop tiling → UNI ViT-L/16 → 32x32 spatial tokens (1024-dim) |
|
| 28 |
| Parameters | 42M (generator), UNI frozen (303M) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
Virtual staining of H&E histopathology images to IHC (HER2, Ki67, ER, PR) using a single unified 42M-parameter SPADE-UNet conditioned on dense spatial tokens from a frozen UNI pathology foundation model.
|
| 17 |
|
| 18 |
## Features
|
| 19 |
+
|
| 20 |
+
- **Gallery** — Browse 16 pre-computed examples from BCI and MIST datasets (no GPU needed)
|
| 21 |
+
- **Virtual Staining** — Upload an H&E image and generate any IHC stain (GPU required)
|
| 22 |
+
- **Cross-Stain Comparison** — Generate all 4 stains from a single H&E input (GPU required)
|
| 23 |
|
| 24 |
## Architecture
|
| 25 |
+
|
| 26 |
| Component | Details |
|
| 27 |
|-----------|---------|
|
| 28 |
| Generator | SPADE-UNet with UNI spatial conditioning + FiLM stain embeddings |
|
| 29 |
| UNI Features | 4x4 sub-crop tiling → UNI ViT-L/16 → 32x32 spatial tokens (1024-dim) |
|
| 30 |
| Parameters | 42M (generator), UNI frozen (303M) |
|
| 31 |
+
|
| 32 |
+
## GPU Support
|
| 33 |
+
|
| 34 |
+
- **Gallery tab** works on CPU (default hardware)
|
| 35 |
+
- **Live inference** requires GPU — set Space hardware to ZeroGPU (HF Pro) or run locally with `python app.py`
|