coursera-deep-learning icon indicating copy to clipboard operation
coursera-deep-learning copied to clipboard

Code error in Face Recognition Notebook

Open SockAndSandal opened this issue 4 years ago • 0 comments

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

SockAndSandal avatar Nov 05 '20 18:11 SockAndSandal