Upload distilled WSI diffusion model package
Browse files- .gitattributes +1 -0
- README.md +14 -4
- tile.png +3 -0
.gitattributes
CHANGED
|
@@ -34,3 +34,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
compare.png filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
compare.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
tile.png filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -14,12 +14,23 @@ base_model:
|
|
| 14 |
---
|
| 15 |
|
| 16 |
# W8Yi/distilled-wsi-diffusion
|
|
|
|
| 17 |
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
|
| 20 |
## What Is Included
|
| 21 |
|
| 22 |
-
- `student_model.safetensors`: distilled student weights
|
| 23 |
- `inference_config.json`: base model IDs and loading config.
|
| 24 |
- `training_args_full.json`: original training args captured from checkpoint.
|
| 25 |
- `checkpoint_export_summary.json`: export metadata.
|
|
@@ -91,7 +102,6 @@ img = decode_latents_to_images(pipeline, latents)[0]
|
|
| 91 |
`compare.png` (left = teacher, right = student):
|
| 92 |
|
| 93 |

|
| 94 |
-
The teacher-generated image is on the left, and the student-generated image is on the right.
|
| 95 |
|
| 96 |
Teacher rollout (35 steps): 0.8908s
|
| 97 |
Student rollout (4 steps): 0.1137s
|
|
@@ -218,4 +228,4 @@ print(f"End-to-end speedup: {teacher_total / max(student_total, 1e-9):.2f}x")
|
|
| 218 |
- `StonyBrook-CVLab/PixCell-256`
|
| 219 |
- `StonyBrook-CVLab/PixCell-pipeline`
|
| 220 |
- `stabilityai/stable-diffusion-3.5-large` (VAE subfolder `vae`)
|
| 221 |
-
- Please check and comply with upstream model licenses/terms.
|
|
|
|
| 14 |
---
|
| 15 |
|
| 16 |
# W8Yi/distilled-wsi-diffusion
|
| 17 |
+

|
| 18 |
|
| 19 |
+
`distilled-wsi-diffusion` is a distilled student model derived from PixCell for
|
| 20 |
+
UNI-conditioned histopathology image generation. It is designed to preserve the
|
| 21 |
+
visual behavior of the PixCell teacher while enabling substantially faster
|
| 22 |
+
sampling with fewer denoising steps, making it practical for rapid research
|
| 23 |
+
iteration, hypothesis testing, and interpretability workflows on WSI features.
|
| 24 |
+
|
| 25 |
+
## Why Use This Model
|
| 26 |
+
|
| 27 |
+
- Faster inference than full-step teacher sampling for UNI-conditioned generation.
|
| 28 |
+
- Compatible with PixCell-based conditioning workflow already used in this repo.
|
| 29 |
+
- Useful for pathology-focused generative experiments where turnaround time matters.
|
| 30 |
|
| 31 |
## What Is Included
|
| 32 |
|
| 33 |
+
- `student_model.safetensors`: distilled student weights.
|
| 34 |
- `inference_config.json`: base model IDs and loading config.
|
| 35 |
- `training_args_full.json`: original training args captured from checkpoint.
|
| 36 |
- `checkpoint_export_summary.json`: export metadata.
|
|
|
|
| 102 |
`compare.png` (left = teacher, right = student):
|
| 103 |
|
| 104 |

|
|
|
|
| 105 |
|
| 106 |
Teacher rollout (35 steps): 0.8908s
|
| 107 |
Student rollout (4 steps): 0.1137s
|
|
|
|
| 228 |
- `StonyBrook-CVLab/PixCell-256`
|
| 229 |
- `StonyBrook-CVLab/PixCell-pipeline`
|
| 230 |
- `stabilityai/stable-diffusion-3.5-large` (VAE subfolder `vae`)
|
| 231 |
+
- Please check and comply with upstream model licenses/terms.
|
tile.png
ADDED
|
Git LFS Details
|