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~

 Réponse acceptée

yanqi liu
yanqi liu le 30 Déc 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

Plus de réponses (0)

Catégories

En savoir plus sur Deep Learning Toolbox dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by