Skip to content

Code error in Face Recognition Notebook #25

@SockAndSandal

Description

@SockAndSandal

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```

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