root@unihiker:~/mindplus/cache/任务二 训练模型并保存.mp# python /root/mindplus/cache/任务二\ 训练模型并保存.mp/.cache-file.py
Traceback (most recent call last):
File "/root/mindplus/cache/任务二 训练模型并保存.mp/.cache-file.py", line 16, in <module>
faces, Ids = train_model.get_images_and_labels('/root/face_recognition/picture/')
File "/root/mindplus/.lib/thirdExtension/nick-face_recognition-thirdex/train_model.py", line 30, in get_images_and_labels
image_paths = [os.path.join(path+name, f) for f in os.listdir(path+name)]
NotADirectoryError: [Errno 20] Not a directory: '/root/face_recognition/picture/020240402_233836_696851.jpg' |
回复[url=]举报[/url]
|
|
|
|
|
|