-
Notifications
You must be signed in to change notification settings - Fork 279
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
Where is landmark_detect_best.pth #136
Comments
me too |
Same. I tried the same and got "The model and loaded state dict do not match exactly" and other warning messages. The detected landmarks are all near the top-left corner, which are obviously wrong: detected landmark 23.393638857773375 6.335447622197016 I've spent several hours on this repo and I think I'm done with it. |
Hi, I want to run the test_landmark_detector.py (I run on google colab) but I don't know where can I get "landmark_detect_best.pth". I go to MODEL_ZOO.md, download the pretrained model of Fashion Landmark Detection with vgg16 but the file I get is "latest.pth". Then I use it to run the demo on an image. It just turns out 3 coordinates of landmark. My output is:
pretrained model checkpoint/vgg16.pth
Use load_from_local loader
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
Use load_from_local loader
load checkpoint from: /content/mmfashion/checkpoint/latest.pth
/usr/local/lib/python3.7/dist-packages/torch/nn/functional.py:1351: UserWarning: nn.functional.sigmoid is deprecated. Use torch.sigmoid instead.
warnings.warn("nn.functional.sigmoid is deprecated. Use torch.sigmoid instead.")
detected landmark 77.60672433035714 93.52818080357142
detected landmark 144.5418962751116 91.87636021205357
detected landmark 89.90164620535714 93.12472098214285
Could anybody help me?
The text was updated successfully, but these errors were encountered: