这是indexloc提供的服务,不要输入任何密码
Skip to content

AttributeError: 'str' object has no attribute 'ndim' #13

@glennford49

Description

@glennford49

File "create_face_embeddings.py", line 64, in main
images = facenet.load_img(filename, False, False, image_size)
File "/home/glenn/Downloads/Face_Recognition-master/lib/src/facenet.py", line 275, in load_img
if img.ndim == 2:
AttributeError: 'str' object has no attribute 'ndim'

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