Training model using training, validation and test set #2135
-
Assuming that I have a yaml file with directories to training, validation and test set like this:
I don't know how to run on the validation set on each epoch during the training process and how to run on the test set after training process is done. Can sb help me, pls? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
@minhhotboy9x the evaluation on val set is running during training by default, you don't need to worry about that. yolo detect val model=best.pt data=your_data.yaml split=test |
Beta Was this translation helpful? Give feedback.
-
Please suggest which best.pt to use for resume training with the last.pt is done? as new train folder (after resume model) does not contain the best.pt |
Beta Was this translation helpful? Give feedback.
@minhhotboy9x the evaluation on val set is running during training by default, you don't need to worry about that.
To evaluate test set after training, you can run the following command: