huanghoujing / EANet

EANet: Enhancing Alignment for Cross-Domain Person Re-identification
397 stars 88 forks source link

kpt_to_pap_mask.py #5

Closed ivylinden closed 5 years ago

ivylinden commented 5 years ago

Thanks for your job,in the kpt_to_pap_mask.py def _to_ind(y): return min(H, max(0, int(1. H y / im_h_w[0] + 0.5))) y is between in [0, 1] ,Why is this formula going to be calculated like this?