Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trained model provided by baidu drive #6

Open
lyxlynn opened this issue Oct 16, 2018 · 2 comments
Open

trained model provided by baidu drive #6

lyxlynn opened this issue Oct 16, 2018 · 2 comments

Comments

@lyxlynn
Copy link

lyxlynn commented Oct 16, 2018

Hi, thanks for open-soursing this work.
I used the trained models "LIP_CE2P_trainVal_473.pth" "LIP_CE2P_trainVal_321_681.pth" "LIP_CE2P_train.pth" from baidu drive to predict test images in LIP , but the results are not so good.
So then I used the "LIP_CE2P_train.pth" to evaluate LIP_val images and use the code 'job_evaluat.sh ' you provided . The results are : Pixel accuracy: 0.735310 Mean accuracy: 0.384664 Mean IU: 0.264362

Is the results normal or there is something wrong ?
I wonder whether he three trained models from baidu drive are the well-trained models that can achive the best performance as your paper shows ?

@liutinglt
Copy link
Owner

@Liuyixuan95
The version of PyTorch we used is 0.3.1. Someone using pytorch 0.4.1 can not reproduce the results. The reason is that the align_corners of upsample function is set to default to False. Maybe you can try to replace all the Upsample(size=output_size, mode='bilinear')" with "Upsample(size=output_size, mode='bilinear',align_corners=True)".

@lyxlynn
Copy link
Author

lyxlynn commented Oct 23, 2018

@liutinglt Thanks ! got it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants