matlab-deep-learning/Human-Pose-Estimation-with-Deep-Learning

Issue in posenet.PoseEstimator.

Dimple-sethi opened this issue · 4 comments

detector=posenet.PoseEstimator;
while running this , getting an error message , unable to resolve the name posenet.PoseEstimator.
all the toolboxes are properly installed , still facing this issue , please help me out , in urgent need.

Hi @Dimple-sethi ,
Thanks for reporting the issue. I was able to reproduce the issue on my MATLAB R2020b. posenet.PoseEstimator can be found as below, but simplePoseNet.mat cannot be read because data folder is not added to the path.

>> which posenet.PoseEstimator
C:\Users\username\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\Human Pose Estimation with Deep Learning\+posenet\PoseEstimator.m  % posenet.PoseEstimator constructor

>> detector = posenet.PoseEstimator;

Error using load
Unable to read file 'simplePoseNet.mat'. No such file or directory.
Error in posenet.PoseEstimator (line 29)
            d = load(options.MATFile); 

I will fix the issue soon. In the meanwhile, can you try to add the data folder to your path as a workaround?

>> addpath('C:\Users\username\AppData\Roaming\MathWorks\MATLAB Add-Ons\Toolboxes\Human Pose Estimation with Deep Learning\data');

Please note that the location of the root folder of the add-on might be different from above.

@Dimple-sethi, I have uploaded the toolbox v1.0.3. Can you try this out?

Thank you for confirming. Closing this issue.