thoughtworksarts / EmoPy

A deep neural net toolkit for emotion analysis via Facial Expression Recognition (FER)
https://thoughtworksarts.io/blog/emopy-emotional-expression-toolkit/
GNU Affero General Public License v3.0
919 stars 264 forks source link

Illegal instruction: 4 #77

Open lillois59 opened 3 years ago

lillois59 commented 3 years ago

Hello World,

Im trying lots of récognition program in my MBP H-SIERRA 10.13 in diff environements but always Im fail when I need to use Tensorflow in theses programs. For EmoPy its the same I got this :

python EmoPy/tests/run_all.py Using TensorFlow backend. Illegal instruction: 4

+++++ python -V Python 3.6.7 +++++ python3 Python 3.6.7 (v3.6.7:6ec5cf24b7, Oct 20 2018, 03:02:14) [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] on darwin Type "help", "copyright", "credits" or "license" for more information.

import cv2 import tensorflow Illegal instruction: 4 (venv) (base) sofiane-MacBook-Pro:EmoPy Apple$ +++++++ NVIDIA GeForce 320M 256 Mo graphismes Need Help

Aronja commented 3 years ago

Hi @camillegroult,

would you mind sending me a pip freeze, so that I can check your dependencies. Generally install them with a pip install in your venv. (Please see the README.md for more detail)

It is crucial that you run the project with the correct deps.

lillois59 commented 3 years ago

Hi @Aronja ,

first thanks you to reply to me its an honor also you work is asewome ! bellow as demanded you can see my pip freeze, I'm not understand why I can't use FER program in my MB. I can use Darknet, Yolo but not all fonction but when I need tensorflow I'm blocked I think I need to install it but in good way if you can help me please Aronja :

Illegal instruction: 4 (venv) sofiane-MacBook-Pro:tests Apple$ pip freeze absl-py==0.11.0 astor==0.8.1 attrs==20.3.0 cached-property==1.5.2 coverage==4.5.3 cycler==0.10.0 decorator==4.4.2 EmoPy==0.0.5 gast==0.4.0 graphviz==0.16 grpcio==1.34.1 h5py==3.1.0 importlib-metadata==3.4.0 iniconfig==1.1.1 joblib==1.0.0 Keras==2.2.4 Keras-Applications==1.0.8 Keras-Preprocessing==1.1.2 kiwisolver==1.3.1 Lasagne==0.1 Markdown==3.3.3 matplotlib==3.3.3 mock==4.0.3 networkx==2.5 numpy==1.14.5 opencv-python==4.5.1.48 packaging==20.8 Pillow==8.1.0 pluggy==0.13.1 protobuf==3.14.0 py==1.10.0 pydot==1.4.1 pyparsing==2.4.7 pytest==6.2.1 python-dateutil==2.8.1 PyWavelets==1.1.1 PyYAML==5.3.1 scikit-image==0.13.1 scikit-learn==0.24.0 scikit-neuralnetwork==0.7 scipy==1.0.0 six==1.15.0 tensorboard==1.13.1 tensorflow==1.13.1 tensorflow-estimator==1.13.0 termcolor==1.1.0 Theano==1.0.5 threadpoolctl==2.1.0 toml==0.10.2 typing-extensions==3.7.4.3 Werkzeug==1.0.1 zipp==3.4.0