Open nnop opened 6 years ago
about np=56
The COCO datasets have 17 body parts, so np_in_lmdb=17.
In cpm_data_transformer from 182~184,
if(np == 56){ int COCO_to_ours_1[18] = {1,6, 7,9,11, 6,8,10, 13,15,17, 12,14,16, 3,2,5,4}; int COCO_to_ours_2[18] = {1,7, 7,9,11, 6,8,10, 13,15,17, 12,14,16, 3,2,5,4};
the 6-‘left shoulder’ and 7-‘right shoulder’ generate a new part. So there is 18 heatmaps.
In cpm_data_transformer from 1172~1173,
int mid_1[19] = {2, 9, 10, 2, 12, 13, 2, 3, 4, 3, 2, 6, 7, 6, 2, 1, 1, 15, 16}; int mid_2[19] = {9, 10, 11, 12, 13, 14, 3, 4, 5, 17, 6, 7, 8, 18, 1, 15, 16, 17, 18};
there are 19 correspondences,as well as 19*2=38 vecmaps.
Finally, 18+38=56.
Ref issues:
about isVisible
Ref: issues/29 @ convolutional-pose-machines-release
about use ResNet:
data augmentation
代码里有不少bugs, anatolix指出了一些
code