File “D:\anaconda\lib\site-packages\sklearn\utils\validation.py”, line 255, in check_consistent_length
raise ValueError(“Found input variables with inconsistent numbers of”
ValueError: Found input variables with inconsistent numbers of samples: [56, 47]
这个问题是你的图片和保存的json数量对应不上导致,把多余的图片删除掉就可以了
12-10
1302
05-07
668
05-31
2673
07-17
2077
04-27
3765
05-10
1763