Problem with Classify Videos Using Deep Learning documentation

10 vues (au cours des 30 derniers jours)
Ogut Su Karagun
Ogut Su Karagun le 17 Déc 2022
Commenté : Walter Roberson le 17 Déc 2022
Hello all,
I would like to try the code from MATLAB's own documentation, but I ran into a problem. I think the documentation has a problem and I can't find where I'm reporting it. Can someone help me for report it and make it up and running?
  2 commentaires
Walter Roberson
Walter Roberson le 17 Déc 2022
What difficulty are you encountering?
Note: you need to download the HMDB files yourself.
Ogut Su Karagun
Ogut Su Karagun le 17 Déc 2022
I'm getting "Index must not exceed 0" in 5th line but the array is numbering as 1 already in 4th line.

Connectez-vous pour commenter.

Réponses (1)

Walter Roberson
Walter Roberson le 17 Déc 2022
You have not downloaded and extracted the HMDB files. You need to download the .rar file and extract it, which will give you a directory with a number of .rar files. You have to extract all of those too.
  1 commentaire
Walter Roberson
Walter Roberson le 17 Déc 2022
On my Mac, I run into a different problem,
Error using VideoReader/initReader
Could not read file due to an unexpected error. Reason: Cannot Decode
Error in audiovideo.internal.IVideoReader (line 136)
initReader(obj, fileName, currentTime);
Error in VideoReader (line 104)
obj@audiovideo.internal.IVideoReader(varargin{:});
Error in ClassifyVideosUsingDeepLearningExample>readVideo (line 135)
vr = VideoReader(filename);
This is because the vidoes are encoded with the DX50 encoder from DivX, which is not normally supported on Mac.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Deep Learning Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by