Realtime_Multi-Person_Pose_Estimation
Realtime_Multi-Person_Pose_Estimation copied to clipboard
Using parfor in genCOCOMask.m
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.
I am wondering the same! Did you solve it @makeitraina ?
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?
Did you solve it?
yes
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
I have not used parfor,so I don`t know