Issue with YOLO4

15 views (last 30 days)
shawin
shawin on 28 Jul 2022
Edited: Walter Roberson on 14 Aug 2024
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 ?
  1 Comment
Jiraphatr
Jiraphatr on 14 Aug 2024
I am also facing the same problem, has it been solved? I used yolo v4 and already downloaded the "Computer Vision Toolbox Model for YOLO v4 Object Detection" in the add-on section but this error doesn't seem to go.

Sign in to comment.

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!