OpenPose Matlab - downloadTr​ainedOpenP​oseNet ERROR

4 ビュー (過去 30 日間)
María Daniela Vargas Nieto
María Daniela Vargas Nieto 2020 年 10 月 16 日
コメント済み: Farhat Naseer 2021 年 6 月 23 日
Hi, I am trying to follow the "Estimate body pose using deep learning" example, but I have an error when I run the "downloadTrainedOpenPoseNet(trainedOpenPoseNet_url,dataDir)" line. The error tells me:
Undefined function 'downloadTrainedOpenPoseNet' for input arguments of type 'char'.
I have Deep Learning Toolbox and Computer Vision Toolbox, but it doesn't work. Would be nice to receive any help on this topic. Thank you in advance.
  1 件のコメント
Farhat Naseer
Farhat Naseer 2021 年 6 月 23 日
1.I just download the document from the link
2. run the command in MATLAB.
dataDir = fullfile(tempdir,'OpenPose');
you will get the location work space.
open the location and paste the downloaded file in the location and extract it.
you don't need to do these steps
dataDir = fullfile(tempdir,'OpenPose');
trainedOpenPoseNet_url = 'https://ssd.mathworks.com/supportfiles/vision/data/human-pose-estimation.zip';
downloadTrainedOpenPoseNet(trainedOpenPoseNet_url,dataDir)
unzip(fullfile(dataDir,'human-pose-estimation.zip'),dataDir);

サインインしてコメントする。

回答 (1 件)

Vinoth Venkatesan
Vinoth Venkatesan 2020 年 11 月 4 日
Hi Maria,
This is a known issue with the example. Please replace the following line in the example:
trainedOpenPoseNet_url = 'https://www.mathworks.com/supportfiles/vision/data/trainedOpenPoseNet.mat';
with:
trainedOpenPoseNet_url = 'https://ssd.mathworks.com/supportfiles/vision/data/human-pose-estimation.zip';
Hope that helps,
Vinoth

Community Treasure Hunt

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

Start Hunting!

Translated by