coursera-deep-learning
coursera-deep-learning copied to clipboard
Code error in Face Recognition Notebook
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```