Problem with Classify Videos Using Deep Learning documentation

9 views (last 30 days)
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 Comments
Walter Roberson
Walter Roberson on 17 Dec 2022
What difficulty are you encountering?
Note: you need to download the HMDB files yourself.
Ogut Su Karagun
Ogut Su Karagun on 17 Dec 2022
I'm getting "Index must not exceed 0" in 5th line but the array is numbering as 1 already in 4th line.

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 17 Dec 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 Comment
Walter Roberson
Walter Roberson on 17 Dec 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.

Sign in to comment.

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!