question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot download the model?

See original GitHub issue

When I’m trying the example, I got something below, I suspect it cannot download the model, could you add a link of model?

hw@hw-work:~/workspace/02_work/52-face-aligment/examples$ python detect_landmarks_in_image.py
Traceback (most recent call last):
  File "detect_landmarks_in_image.py", line 8, in <module>
    fa = face_alignment.FaceAlignment(face_alignment.LandmarksType._3D, enable_cuda=False, flip_input=False)
  File "build/bdist.linux-x86_64/egg/face_alignment/api.py", line 106, in __init__
  File "/home/hw/anaconda2/lib/python2.7/site-packages/torch/serialization.py", line 267, in load
    return _load(f, map_location, pickle_module)
  File "/home/hw/anaconda2/lib/python2.7/site-packages/torch/serialization.py", line 410, in _load
    magic_number = pickle_module.load(f)
cPickle.UnpicklingError: invalid load key, '<'.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:17 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
jaysimoncommented, May 3, 2018

this is the link of model, you can download and put them into ~/.facealigment/data link:https://pan.baidu.com/s/15ap3uhfOA2hG8x9v3P13OA pw:84om

3reactions
1adrianbcommented, Apr 24, 2018

Try to download them from here: https://uniofnottm-my.sharepoint.com/:f:/g/personal/adrian_bulat_nottingham_ac_uk/Ev4KqgFQ5ENLsoy_plCiSLQBH-lxaoPLINqpNuSrhYcm8w?e=WnvCaW and then move the .tar files to {path_to_home}/.face_alignment

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot download models (like en_core_web_sm) · Issue #5260
Internet connection is good but cannot download. I am in Mongolia and cannot download any of the models from command line using: python...
Read more >
Cannot download models from 3d Warehouse
As 2017 and 2018 are now not supported for using 3D Warehouse inside SketchUp, your only option is to use a web browser...
Read more >
I can't find the Download button for a model. Where is it?
3D models on Sketchfab are only available for free download or purchase if the owner allows it. You can search for free models...
Read more >
I can't download model data – VRoid FAQ
I can't download model data. Please make sure you're logged in to VRoid Hub before downloading model data. Once you're logged in, verify...
Read more >
Can't download saved model from /kaggle/working
I set my code to auto save model weight and logs each epoch. When I want to download the saved file (.hdf5 format),...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found