-
Notifications
You must be signed in to change notification settings - Fork 289
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
The model and loaded state dict do not match exactly #53
Comments
It already load the right model. |
Hello, I wonder if i have downloaded the right model? The result of landmark detector seems poor, here I used the vgg16 model downloaded from baidu drive, and got only three landmarks on the landmark_predict/demo1.jpg. How can I get better detection like shown in the gif? python demo/test_landmark_detector.py --input demo/imgs/landmark_predict/demo1.jpg unexpected key in source state_dict: classifier.0.weight, classifier.0.bias, classifier.3.weight, classifier.3.bias, classifier.6.weight, classifier.6.bias model built |
i have the same question!!! |
This project is unusable, what a pitty. |
Dear Authors,
When I try the landmark detector demo, I meet the following issues. Please give one good demo or example. Thanks
pretrained model checkpoint/vgg16.pth
The model and loaded state dict do not match exactly
unexpected key in source state_dict: classifier.0.weight, classifier.0.bias, classifier.3.weight, classifier.3.bias, classifier.6.weight, classifier.6.bias
model built
load checkpoint from: checkpoint/LandmarkDetect/global/landmark_detect_best.pth
F:\Python\Anaconda3\envs\cuhk_mmlab\lib\site-packages\torch\nn\functional.py:1569: UserWarning: nn.functional.sigmoid is deprecated. Use torch.sigmoid instead.
warnings.warn("nn.functional.sigmoid is deprecated. Use torch.sigmoid instead.")
detected landmark [ 49.13241 134.01773] [169.72472 133.90952]
detected landmark [169.72472 133.90952] [ 67.13259 172.5399 ]
detected landmark [ 67.13259 172.5399 ] [151.30598 170.36455]
The text was updated successfully, but these errors were encountered: