Error using trainYOLOv2ObjectDetector
1 次查看(过去 30 天)
显示 更早的评论
I am getting the following error while using the training command. How do I fix this?![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/730769/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/730769/image.jpeg)
0 个评论
回答(1 个)
Sanjana
2023-3-29
Hi,
Based on the information you provided, the error is occurring due to the input data being passed to the function as a “table” instead of a “datastore”. This is causing an issue in the “copy” function.
To resolve the issue, you will need to convert your tabular data into a “datastore” before passing it to the training function. You can find an example on how to create “datastores” for your data at the following link: https://www.mathworks.com/help/vision/ref/trainyolov2objectdetector.html#mw_4a2cc890-6a93-4e86-a441-e49d8ea58663
Hope this helps!
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!