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

Code error in Face Recognition Notebook #25

Open
SockAndSandal opened this issue Nov 5, 2020 · 0 comments
Open

Code error in Face Recognition Notebook #25

SockAndSandal opened this issue Nov 5, 2020 · 0 comments

Comments

@SockAndSandal
Copy link

In the verify graded function under the Facial Recognition assignment notebook of the CNNs course, one of the graded code fields in not filled in:

 if None:
        print("It's " + str(identity) + ", welcome home!")
        door_open = True
    else:
        print("It's not " + str(identity) + ", please go away")
        door_open = False

The None should be replaced with

    if dist<0.7
        print("It's " + str(identity) + ", welcome home!")
        door_open = True
    else:
        print("It's not " + str(identity) + ", please go away")
        door_open = False```
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

1 participant