File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -36,15 +36,19 @@ If you want to start testing without training from scratch, you can use the [mod
36
36
** Note that currently this project can only be executed in Linux and macOS. You might run into some issues in Windows.**
37
37
1 . Create & activate a new python3 virtualenv. (optional)
38
38
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:
40
44
```
41
45
python train.py --config <config path>
42
46
```
43
47
During training, you can use Tensorboard to visualize the results:
44
48
```
45
49
tensorboard --logdir=<output_log in train.cfg>
46
50
```
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:
48
52
```
49
53
python test.py --model <model_path> --config <model config path> --input <image path> --output <output image path>
50
54
```
You can’t perform that action at this time.
0 commit comments