Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with the version of TensorFlow. #50

Open
LuoXubo opened this issue Apr 22, 2024 · 1 comment
Open

Problem with the version of TensorFlow. #50

LuoXubo opened this issue Apr 22, 2024 · 1 comment

Comments

@LuoXubo
Copy link

LuoXubo commented Apr 22, 2024

Hi!

Thanks for your greate work. However, there are some problems when I want to run the display_emotions.ipynb. I think there is a problem with the versions of the tensorflow and the numpy. Thus, could you please give a more detailed instroduction of the version of tensorflow and other packages that are used in the project?

Thanks a lot!

@av-savchenko
Copy link
Owner

I have just tested display_emotions.ipynb, and it works fine. I ave the following versions of packages you asked:
tensorflow==2.13.1
numpy==1.23.5
torch==2.0.1+cu118

The one cel that does not work for you is the cel that contains the following line
fpath='/home/avsavchenko/images/'+fn+'.png'

You simply do not have these files, so ignore them

If you want to just run my models, the simplest way is to use one of two libraries, hsemotion that works with PyTorch models and hsemotion-onnx that needs ONNX. The working example is available here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants