trainYOLOv​​2ObjectDe​t​ector validation option

2 views (last 30 days)
Andrea Daou
Andrea Daou on 23 May 2022
Answered: T.Nikhil kumar on 17 Apr 2024 at 11:01
Hello,
I am training a yolov2 model for object detection. Is there any way to validate the model with validation data ?
I am using MATLAB R2019a.
Thank you for your help.

Answers (1)

T.Nikhil kumar
T.Nikhil kumar on 17 Apr 2024 at 11:01
Hello Andrea,
I assume that you’re looking to specify validation data to validate the network at regular intervals during training.
In MATLAB R2019a, the ‘trainYOLOv2ObjectDetector’ doesn't support validation data in training options i.e. you cannot specify validation data while creating the options object using ‘trainingOptions’ function, for training the network. Refer to this documentation where details about unsupported options in MATLAB R2019a is mentioned.
Validation Data in training options is supported in MATLAB R2020b and further releases. I suggest you to update to latest version of MATLAB to use this functionality.
Here is the documentation of the options supported by ‘trainYOLOV2ObjectDetector’ in MATLAB R2024a – options.

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!