Skip to content
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

main.py --"input" press q no react to save data #48

Open
hsm4703 opened this issue Jul 22, 2019 · 1 comment
Open

main.py --"input" press q no react to save data #48

hsm4703 opened this issue Jul 22, 2019 · 1 comment

Comments

@hsm4703
Copy link

hsm4703 commented Jul 22, 2019

Please start turning slowly. Press 'q' to save and add this new user to the dataset Traceback (most recent call last):

@eitamring
Copy link

eitamring commented May 5, 2020

Hey I had the same issue , please check if you got divide by zero error on :
align_custom.py , if you do just add try exp on def getPos
Line 21 where the except be return center ,
Like this:

    def getPos(self, points):
        try:
            if abs(points[0] - points[2]) / abs(points[1] - points[2]) > 2:
                return "Right"
            elif abs(points[1] - points[2]) / abs(points[0] - points[2]) > 2:
                return "Left"
            return "Center"
        except expression as identifier:
            return "Center"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants