YOLO v3 training along with validation dataset
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Akshatha Doddabyaladakere Nagaraju
el 10 de Nov. de 2022
Comentada: Vivek Akkala
el 24 de Nov. de 2022
I have been training Yolo v3 object detction model with just training dataset, but i would also like to add validation dataset during training. In the example Object Detection Using YOLO v3 Deep Learning validation set is considered during training. Whereas in Object Detection Using YOLO v2 Deep Learning validation set is used by giving it as an input to trainYOLOv2ObjectDetector through training options.
Is there any similar function for YOLO v3 for training to use validation dataset?
Thank you
0 comentarios
Respuestas (1)
Varun Sai Alaparthi
el 21 de Nov. de 2022
Hello Akshatha,
I understand that you are asking for giving validation data for model to train through training options.
But the functionality for the training options ‘validation dataset’ field is to give validation accuracy during training, it will not train the model on that.
However, you can add this to the train data store and initiate the training for the model to use it for training. You can combine datastores using this code
dsseq = combine(ds1,ds2,ReadOrder="sequential");
Please refer to this link for more information:
You can directly input the combined datastore to ‘trainNetwork’ API.
I hope this information helps and please reach out for any further issues.
Sincerely
Varun
2 comentarios
Vivek Akkala
el 24 de Nov. de 2022
You can use transform datastore to convert all the images to dlarray at once. 'forward' function of the yolov3ObjectDetector can be used to compute the validation loss during traning.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!