Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lishen authored Aug 30, 2017
1 parent 194c937 commit b8ba323
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# End-to-end Training for Whole Image Breast Cancer Diagnosis using An All Convolutional Design
Li Shen, Ph.D.
Li Shen, Ph.D. CS

Icahn School of Medicine at Mount Sinai

Expand Down Expand Up @@ -75,7 +75,12 @@ python image_clf_train.py \
--final-model $FINAL_MODEL \
$TRAIN_DIR $VAL_DIR $TEST_DIR
```

Some explanations of the arguments:
- The batch size for training is the product of `--batch-size` and `--train-bs-multiplier`. Because training uses roughtly twice (both forward and back props) the GPU memory of testing, `--train-bs-multiplier` is set to 0.5 here.
- For model finetuning, only the second stage of the two-stage training is used here. So `--nb-epoch` is set to 0.
- `--load-val-ram` and `--load-train-ram` will load the image data from the validation and train sets into memory. You may want to turn off these options if you don't have sufficient memory. When turned off, out-of-core training will be used.
- `--weight-decay` and `--hidden-dropout` are for stage 1. `--weight-decay2` and `--hidden-dropout2` are for stage 2.
- The learning rate for stage 1 is `--init-learningrate`. The learning rate for stage 2 is the product of `--init-learningrate` and `--all-layer-multiplier`.



Expand Down

0 comments on commit b8ba323

Please sign in to comment.