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~

 Akzeptierte Antwort

yanqi liu
yanqi liu am 30 Dez. 2021

0 Stimmen

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

Weitere Antworten (0)

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by