I am following the Yolo v3 matlab official documentation, there introduce a specifc function called validateInputData. However, I can't find this function either in matlab searching space or help function listed below on the same page. Even google this function of matlab didn't give me anything from official site.
validateInputData(trainingData);
validateInputData(testData);
I am wondering where is this function?

1 commentaire

N.white
N.white le 14 Juil 2021
I don't get the vlidateInputData function. I need a help

Connectez-vous pour commenter.

 Réponse acceptée

Steven Lord
Steven Lord le 9 Oct 2020

2 votes

It is a function created for and included as part of the example. Open the example in MATLAB (click the "View MATLAB Command" link in the box in the upper-right corner of the example or open it in MATLAB Online by clicking the button in that same box) and you will find that helper in the example's directory.

4 commentaires

R G
R G le 27 Mai 2021
hi, Im having the same problem, could you please decribe more detail by posting some picture. I couldnt find the box that you mean
Open that example in the documentation in MATLAB. You will not be able to see the function if you're just looking at the example in the online doc.
docsearch 'Object Detection Using YOLO v3 Deep Learning'
Look in the upper-right corner of the page. You should see a box that says "This example uses" followed by a couple products. Immediately below that box is a button labeled "Open Live Script". Click the button.
When the example opens, MATLAB will be in the directory containing the helper functions used by that example. This includes validateInpuData.
R G
R G le 28 Mai 2021
Modifié(e) : R G le 28 Mai 2021
Wow, I didnt know that is different
Thank a lot, appreciate it!
Ali Osman Gökcan
Ali Osman Gökcan le 5 Déc 2022
Modifié(e) : Ali Osman Gökcan le 5 Déc 2022
Hello. Since I got an error on the same function, I thought it would be more appropriate to write it here instead of opening a new topic.
1- I ran the Matlab 'Object Detection Using YOLO v3 Deep Learning' example without any problems.
2- I replaced the pictures and tags in the example with their own images and tags, and it worked without any problems.
3- When I want to do the same sample work with the video file I have, I get the following error in the validateInputData(trainingData) line. I couldn't solve the problem for 10 days, I would be very happy if you could help. Thank you from now :)
Error using validateInputData (line 42)
Bounding box data must be M-by-4 matrices of positive integer values.
The following images have invalid bounding box data:
D:\abc\abc1.png
D:\abc\abc2.png
....

Connectez-vous pour commenter.

Plus de réponses (0)

Produits

Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by