Skip to content
This repository was archived by the owner on Sep 1, 2021. It is now read-only.
This repository was archived by the owner on Sep 1, 2021. It is now read-only.

UnboundLocalError: local variable 'steady_pose' referenced before assignment #20

Description

@yubaoliu

Hello,
I see this error when I test demo.py:

python demo.py --debug
Downloading the face detection CNN. Please wait...
Downloading the Face Alignment Network(FAN). Please wait...
Traceback (most recent call last):
  File "demo.py", line 219, in <module>
    main()
  File "demo.py", line 154, in main
    roll = np.clip(-(180+np.degrees(steady_pose[2])), -50, 50)
UnboundLocalError: local variable 'steady_pose' referenced before assignment

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions