Issue with YOLO4

7 views (last 30 days)
shawin
shawin on 28 Jul 2022
Edited: Ansuman Mahapatra on 15 Jun 2023
Hi,
I tried to run the yolo code , but i get the error below :
'validateInputData' is used in the following examples:
Object Detection Using YOLO v3 Deep Learning
Object Detection Using YOLO v4 Deep Learning
Prune Filters in a Detection Network Using Taylor Scores
Error in yolo4Test (line 45)
validateInputData(trainingData);
Could you help please ?
Iam trying to run the Mathworks code for yolo4 ?

Answers (2)

Vivek Akkala
Vivek Akkala on 4 Aug 2022
Hi,
Looking at the error log, I feel the validateInputData function might be missing in the working directory. Make sure you have the validateInputData function in the directory that has the code for YOLO v4.
If you want to use the default defintion for the validateInputData function metioned in the example you can get it from the "Object Detection Using YOLO v4 Deep Learning" example directory.

Ansuman Mahapatra
Ansuman Mahapatra on 15 Jun 2023
Edited: Ansuman Mahapatra on 15 Jun 2023

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!