Closed trantorrepository closed 7 years ago
in function generateLabelMap
if (np == 56){ for (int i = 0; i < 18; i++){ Point2f center = meta.joint_self.joints[i]; if(meta.joint_self.isVisible[i] <= 1){ putGaussianMaps(transformedlabel + (i+np+39)*channelOffset, center, param.stride(), grid_x, gridy, param.sigma()); //self } for(int j = 0; j < meta.numOtherPeople; j++){ //for every other person Point2f center = meta.joint_others[j].joints[i]; if(meta.joint_others[j].isVisible[i] <= 1){ putGaussianMaps(transformedlabel + (i+np+39)*channelOffset, center, param.stride(), grid_x, gridy, param.sigma()); } } }
since np_in_lmdb = 17, 18 is wrong?
The answer is no.
in function generateLabelMap
if (np == 56){ for (int i = 0; i < 18; i++){ Point2f center = meta.joint_self.joints[i]; if(meta.joint_self.isVisible[i] <= 1){ putGaussianMaps(transformedlabel + (i+np+39)*channelOffset, center, param.stride(), grid_x, gridy, param.sigma()); //self } for(int j = 0; j < meta.numOtherPeople; j++){ //for every other person Point2f center = meta.joint_others[j].joints[i]; if(meta.joint_others[j].isVisible[i] <= 1){ putGaussianMaps(transformedlabel + (i+np+39)*channelOffset, center, param.stride(), grid_x, gridy, param.sigma()); } } }
since np_in_lmdb = 17, 18 is wrong?