Skip to content

Commit 3c7be83

Browse files
committed
UPDATE Readme
1 parent 218bd12 commit 3c7be83

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,19 @@ If you want to start testing without training from scratch, you can use the [mod
3636
**Note that currently this project can only be executed in Linux and macOS. You might run into some issues in Windows.**
3737
1. Create & activate a new python3 virtualenv. (optional)
3838
2. Install dependencies by running `pip install -r requirements.txt`.
39-
3. Run `python train.py` to train a new model. If you want to change your config path:
39+
3. Run `python preprocessing.py` to preprocessing dataset. If you want to change your config path:
40+
```
41+
python preprocessing.py --config <config path>
42+
```
43+
4. Run `python train.py` to train a new model. If you want to change your config path:
4044
```
4145
python train.py --config <config path>
4246
```
4347
During training, you can use Tensorboard to visualize the results:
4448
```
4549
tensorboard --logdir=<output_log in train.cfg>
4650
```
47-
4. Run `python test.py` to evaluate your model on specific image. To change default parameters, you can use:
51+
5. Run `python test.py` to evaluate your model on specific image. To change default parameters, you can use:
4852
```
4953
python test.py --model <model_path> --config <model config path> --input <image path> --output <output image path>
5054
```

0 commit comments

Comments
 (0)