提交 b73df027 编写于 作者: W Waleed Abdulla

Clarify nucleus sample README

上级 a9e598f9
......@@ -6,14 +6,14 @@ The `nucleus.py` file contains the main parts of the code, and the two Jupyter n
## Command line Usage
Train a new model starting from ImageNet weights
Train a new model starting from ImageNet weights using `train` dataset (which is `stage1_train` minus validation set)
```
python3 nucleus.py train --dataset=/path/to/dataset --subset=train --weights=imagenet
```
Train a new model starting from specific weights file
Train a new model starting from specific weights file using the full `stage1_train` dataset
```
python3 nucleus.py train --dataset=/path/to/dataset --subset=train --weights=/path/to/weights.h5
python3 nucleus.py train --dataset=/path/to/dataset --subset=stage1_train --weights=/path/to/weights.h5
```
Resume training a model that you had trained earlier
......@@ -21,9 +21,9 @@ Resume training a model that you had trained earlier
python3 nucleus.py train --dataset=/path/to/dataset --subset=train --weights=last
```
Generate submission file
Generate submission file from `stage1_test` images
```
python3 nucleus.py detect --dataset=/path/to/dataset --subset=train --weights=<last or /path/to/weights.h5>
python3 nucleus.py detect --dataset=/path/to/dataset --subset=stage1_test --weights=<last or /path/to/weights.h5>
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册