Problem with Classify Videos Using Deep Learning documentation

조회 수: 11 (최근 30일)
Ogut Su Karagun
Ogut Su Karagun 2022년 12월 17일
댓글: Walter Roberson 2022년 12월 17일
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
Walter Roberson
Walter Roberson 2022년 12월 17일
What difficulty are you encountering?
Note: you need to download the HMDB files yourself.
Ogut Su Karagun
Ogut Su Karagun 2022년 12월 17일
I'm getting "Index must not exceed 0" in 5th line but the array is numbering as 1 already in 4th line.

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2022년 12월 17일
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
Walter Roberson
Walter Roberson 2022년 12월 17일
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.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by