Error related to datasets when using yolov2.

hello!
I changed the training data using the form shown at this address(https://kr.mathworks.com/help/deeplearning/ug/object-detection-using-yolo-v2.html?searchHighlight=yolo&s_tid=srchtitle_yolo_6), but just before the training, the same phenomenon as the picture below appeared, so I'm not sure what the problem is.
There is no problem with the name and label of the video, but I don't know what went wrong.
Please help me who lacks knowledge about matlab.
Thans you so much. Have a nice day everyone~

 Respuesta aceptada

yanqi liu
yanqi liu el 30 de Dic. de 2021
yes,sir,as the information,please make your image to rgb not gray,such as
augimdsTrain = augmentedImageDatastore(inputSize(1:2),imdsTrain,'ColorPreprocessing','gray2rgb');
or use
img = cat(3,im,im,im);
to make 3 channel,just as rgb format

Más respuestas (0)

Preguntada:

el 29 de Dic. de 2021

Comentada:

el 30 de Dic. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by