Facial-Expression-Recognition icon indicating copy to clipboard operation
Facial-Expression-Recognition copied to clipboard

错误IndexError: list index out of range

Open Ryan1366 opened this issue 5 years ago • 0 comments

你好,我是使用main,py运行,将amazingkelly.jpeg图像使用vaild模型进行测试,首先将图像重新裁剪为(2304,1484),然而在model.py最后一行print(file,EMOTIONS[result.argmax()])报错IndexError: list index out of range。请问result.argmax()是什么?我应该如何处理输入图像

Ryan1366 avatar Oct 28 '19 06:10 Ryan1366