Issue with YOLO4

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 Commento

Jiraphatr
Jiraphatr il 14 Ago 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.

Accedi per commentare.

Risposte (2)

Vivek Akkala
Vivek Akkala il 4 Ago 2022

1 voto

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.

Prodotti

Release

R2022a

Richiesto:

il 28 Lug 2022

Modificato:

il 14 Ago 2024

Community Treasure Hunt

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

Start Hunting!

Translated by