Traceback (most recent call last):
File "C:\Users\30295\Desktop\pythonProject\face_train.py", line 27, in <module>
faces, ids = getImagesAndLabels(path)
File "C:\Users\30295\Desktop\pythonProject\face_train.py", line 18, in getImagesAndLabels
id = int(os.path.split(imagePath)[-1].split(".")[1])
ValueError: invalid literal for int() with base 10: 'jpg'
2021-05-09
最新推荐文章于 2023-11-28 21:29:58 发布