Error in "predict" in the "Gesture Recognition using Videos and Deep Learning" example
11 ビュー (過去 30 日間)
古いコメントを表示
Hello
However, when the code reaches to the line below
dlYPred = predict(slowFastClassifier,dlVideo);
Matlab returns the error below:
Error using predict
No valid system or dataset was specified.
Does anyone have any sugesttion how to resolve the issue?
Thanks
4 件のコメント
Walter Roberson
2022 年 9 月 17 日
The example worked for me on R2022a on MacOS Catalina. It took a bit of time to run.
採用された回答
Walter Roberson
2022 年 9 月 19 日
Your code has
slowFastClassifier = pretrained.data.Params;
but the actual code (in both the posted example and the mlx file) is
slowFastClassifier = pretrained.data.slowFast;
Because of that, you were trying to run predict() on a struct(), which was getting you a predict() function defined by the System Identification Toolbox instead of the predict() method appropriate for the slowFastVideoClassifier object.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Deep Learning Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!