运行 这部分代码时出现错误。尝试了一些现有的解决方案,none 有帮助
I am getting error while running this part of the code. tried some of the existing solutions, none of them helped
for face_location in face_locations:
top , right, bottom , left = face_location
print("A face is located at the pixel locations Top: {} , Right:{} , Left: {} , Bottom: {}.")
**** I always get this error:****
File "<ipython-input-55-23558b69803e>", line 1
for face_location in face_locations:
^SyntaxError: 解析时意外的 EOF
会不会是你忘记在for循环后使用制表符了?
而不是
for face_location in face_locations:
top , right, bottom , left = face_location
做
for face_location in face_locations:
top , right, bottom , left = face_location
for face_location in face_locations:
top , right, bottom , left = face_location
print("A face is located at the pixel locations Top: {} , Right:{} , Left: {} , Bottom: {}.")
**** I always get this error:****
File "<ipython-input-55-23558b69803e>", line 1
for face_location in face_locations:
^SyntaxError: 解析时意外的 EOF
会不会是你忘记在for循环后使用制表符了? 而不是
for face_location in face_locations:
top , right, bottom , left = face_location
做
for face_location in face_locations:
top , right, bottom , left = face_location