aj-naik / Emotion-Music-Recommendation

Flask web app for recommending music based on your facial expressions using FER 2013 dataset and Spotify api
MIT License
74 stars 26 forks source link

tensorflow and terminal issue #78

Closed dakhave95 closed 1 year ago

dakhave95 commented 1 year ago

PS C:\Users\Shadab\Downloads\Emotion Music Recommendation> & "c:/Users/Shadab/Downloads/Emotion Music Recommendation/env/Scripts/python.exe" "c:/Users/Shadab/Downloads/Emotion Music Recommendation/camera.py" 2023-01-27 18:25:36.599542: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX AVX2 To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.

This is coming in the terminal

Import "tensorflow.keras.layers" could not be resolvedPylance is coming

aj-naik commented 1 year ago

https://stackoverflow.com/questions/58202095/cant-import-tensorflow-keras-in-vs-code/72482851#72482851

Refer this please

dakhave95 commented 1 year ago

"C:\Users\Shadab\Downloads\Emotion Music Recommendation\env\Scripts\python.exe" "C:\Users\Shadab\Downloads\Emotion Music Recommendation\app.py" 2023-01-30 19:13:15.956112: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX AVX2 To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.

This is coming in the terminal and app is not opening

aj-naik commented 1 year ago

Hello. Just go back in my commit history to June 2021 and install the versions of packages from the requirements.txt the issue is mostly due changes in newer versions