Clear Filters
Clear Filters

Error using trainYOLOv​2ObjectDet​ector

1 view (last 30 days)
Harvey Carunungan
Harvey Carunungan on 6 Sep 2021
Answered: Sanjana on 29 Mar 2023
I am getting the following error while using the training command. How do I fix this?

Answers (1)

Sanjana
Sanjana on 29 Mar 2023
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!

Community Treasure Hunt

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

Start Hunting!