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.

get_landmarks_from_directory

See original GitHub issue

Issue Description

when i call " get_landmarks_from_directory" i get this error get_landmarks_from_directory

/usr/local/lib/python3.6/dist-packages/face_alignment/detection/sfd/detect.py in batch_detect(net, img_batch, device)
     43     olist = [oelem.data.cpu().numpy() for oelem in olist]
     44 
---> 45     bboxlists = get_predictions(List(olist), batch_size)
     46     return bboxlists
     47 

TypeError: __init__() takes 1 positional argument but 2 were given

despite that i respected the doc instructions but still have same problem

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
1adrianbcommented, Dec 22, 2020

@oussamasf thanks for the info, can you try installing the package directly from github source? It should be fixed now

0reactions
ekinimcommented, Dec 25, 2020

@oussamasf thanks for the info, can you try installing the package directly from github source? It should be fixed now

Thank you Adrian, problem fixed. You are so kind and diligent.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

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