Skip to content

Commit 6b1d845

Browse files
committed
Update README with CANDLE usage
1 parent 731566b commit 6b1d845

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

examples/histogen/README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,26 @@
22

33
## Usage
44

5+
The CANDLE-ized versions of the codes can simply be run without any command line arguments, with the default settings being read from the corresponding 'default_mode'l file.
6+
When needed, the CANDLE versions also use the 'fetch_file' methods, which store the data in the top-level 'Data/Examples' directory.
7+
Any keywords in the 'default_model' file can be overwritten with the appropriate command line argument.
8+
The orginal codes and workflow below are preserved for comparison.
9+
10+
# CANDLE workflow
11+
12+
Sample images
13+
```
14+
python sample_baseline_pytorch.py
15+
```
16+
Training pipeline
17+
```
18+
python train_vqvae_baseline_pytorch.py -e 1
19+
pythong extract_baseline_pytorch.py
20+
python train_pixelsnail_baseline_pytorch.py
21+
```
22+
23+
# Original workflow
24+
525
Sample histology images from a trained histology image model.
626

727
1. Download trained models into `checkpoint` folder.

0 commit comments

Comments
 (0)