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