Skip to content

Commit 655354b

Browse files
authored
Update semantic_segmentation.en.md
1 parent 94b252c commit 655354b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/module_usage/tutorials/cv_modules/semantic_segmentation.en.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ To perform inference predictions via the command line, use the following command
418418
```bash
419419
python main.py -c paddlex/configs/semantic_segmentation/PP-LiteSeg-T.yaml \
420420
-o Global.mode=predict \
421-
-o Predict.model_dir="./output/best_model" \
421+
-o Predict.model_dir="./output/best_model/inference" \
422422
-o Predict.input="general_semantic_segmentation_002.png"
423423
```
424424

@@ -428,7 +428,7 @@ Similar to model training and evaluation, the following steps are required:
428428

429429
* Set the mode to model inference prediction: `-o Global.mode=predict`
430430

431-
* Specify the model weights path: -o Predict.model_dir="./output/best_accuracy/inference"
431+
* Specify the model weights path: `-o Predict.model_dir="./output/best_model/inference"`
432432

433433
Specify the input data path: `-o Predict.inputh="..."` Other related parameters can be set by modifying the fields under Global and Predict in the `.yaml` configuration file. For details, refer to PaddleX Common Model Configuration File Parameter Description.
434434

0 commit comments

Comments
 (0)