huanghoujing / beyond-part-models

PCB of paper: Beyond Part Models: Person Retrieval with Refined Part Pooling, using Pytorch
331 stars 81 forks source link

about the im_mean and im_std #27

Open TingtingAlice opened 6 years ago

TingtingAlice commented 6 years ago

from the train_pcb.py image you set the im_mean and im_std to the fixed array, how do they come? And if i want to test .png picture ,how can i set these two parameters?

huanghoujing commented 5 years ago

Hi, the image mean and std are corresponding to the ImageNet pretrained model provided by pytorch. Refer to this link.