ZheC / Realtime_Multi-Person_Pose_Estimation

Code repo for realtime multi-person pose estimation in CVPR'17 (Oral)
Other
5.08k stars 1.37k forks source link

Using parfor in genCOCOMask.m #145

Open makeitraina opened 6 years ago

makeitraina commented 6 years ago

What is the correct way to updated genCOCOMask.m to take advantage of parfor? I updated line 19 from for i = 1:L to parfor i = 1:L which looked like it was working. In the end I get an error:

Error using genCOCOMask>(parfor consume)
Subscripted assignment between dissimilar structures.

Error in genCOCOMask (line 19)
    parfor i = 1:L

If anyone has an example genCOCOMask.m with parfor that would be helpful.

salvador-blanco commented 6 years ago

I am wondering the same! Did you solve it @makeitraina ?

qinannan commented 6 years ago

I had a Error Undefined function or variable 'maskApiMex'.

Error in MaskApi.decode (line 84) masks = maskApiMex( 'decode', Rs );

Error in genCOCOMask (line 48) mask_crowd = logical(MaskApi.decode( coco_kpt(i).annorect(p).segmentation ));

how to solve it?

quchang3 commented 6 years ago

Did you solve it?

qinannan commented 6 years ago

yes

quchang3 commented 6 years ago

It crashes when i run genCOCOMask.m. However, I try parfor i = 1:L ,In the end I get an error the same. How did you solve it?Thank you. @makeitraina @salvador-blanco

qinannan commented 6 years ago

I have not used parfor,so I don`t know