Skip to content

Commit c118651

Browse files
committed
readme /noci
1 parent d6d4ffa commit c118651

1 file changed

Lines changed: 21 additions & 4 deletions

File tree

README.md

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Trained on a single RTX 5090 with default settings, this implementation demonstr
2323
- Optional convenience scripts:
2424
- [train_vae.sh](train_vae.sh) (example invocation)
2525
- [tensorboard.sh](tensorboard.sh) (runs TensorBoard via Docker)
26-
- Example weights: [pretrained/vae_trained.pt](pretrained/vae_trained.pt)
26+
- Example weights: [pretrained/vae_trained.pt](pretrained/vae_trained.pt) trained on [CAMELYON17](https://camelyon17.grand-challenge.org/)
2727

2828
### Model/training highlights
2929

@@ -75,7 +75,7 @@ Mount your WSI directory from the host into `/data` in the container:
7575

7676
```bash
7777
docker run --rm --gpus all \
78-
-v /host/path/to/wsi:/data:ro \
78+
-v /host/path/to/wsi_files:/data:ro \
7979
-v "$PWD/runs_vae:/workspace/runs_vae" \
8080
-v "$PWD/checkpoints_vae:/workspace/checkpoints_vae" \
8181
histovae \
@@ -125,14 +125,14 @@ pip install -r requirements.txt
125125
Point `--data-root` at a directory containing WSI `.tif` / `.svs` files (case insensitive, recursively searched):
126126

127127
```bash
128-
python vae.py --data-root /path/to/wsi_tifs
128+
python vae.py --data-root /path/to/wsi_files
129129
```
130130

131131
Common knobs:
132132

133133
```bash
134134
python vae.py \
135-
--data-root /path/to/wsi_tifs \
135+
--data-root /path/to/wsi_files \
136136
--img-size 256 \
137137
--batch-size 8 \
138138
--tiles-per-epoch 10000 \
@@ -144,6 +144,23 @@ python vae.py \
144144

145145
By default, tiles are normalized from `[0, 1]` to `[-1, 1]` before being fed to the model.
146146

147+
### Supported Formats
148+
149+
HistoVAE relies on [OpenSlide](https://openslide.org/) for slide access, so the formats it can open are the formats OpenSlide supports on the host system. Supported formats include:
150+
151+
- `.svs`
152+
- `.tif`
153+
- `.dcm`
154+
- `.ndpi`
155+
- `.vms`
156+
- `.vmu`
157+
- `.scn`
158+
- `.mrxs`
159+
- `.tiff`
160+
- `.svslide`
161+
- `.bif`
162+
- `.czi`
163+
147164
### Monitor with TensorBoard
148165

149166
Training logs go under `runs_vae/<timestamp>/` by default.

0 commit comments

Comments
 (0)