av-savchenko / face-emotion-recognition

Efficient face emotion recognition in photos and videos
Apache License 2.0
654 stars 124 forks source link

when i execute test_hsemotion_package.ipynb, getting an error below. #15

Closed ChidanandKumarKS closed 2 years ago

ChidanandKumarKS commented 2 years ago

when i execute test_hsemotion_package.ipynb, getting an error below.

'EfficientNet' object has no attribute 'act1'

Kindly help

av-savchenko commented 2 years ago

The issue may be caused by incompatible version of timm package. Could you kindly verify that you have latest version 0.6.7? If so, please, send me more detailed stack trace of your exception. Also, try to run the code from https://github.com/HSE-asavchenko/face-emotion-recognition/blob/main/src/display_emotions.ipynb which does not need the hsemotion package

ChidanandKumarKS commented 2 years ago

Thanks [display_emotions.ipynb is working fine. Closing the issue