oarriaga / face_classification

Real-time face detection and emotion/gender classification using fer2013/imdb datasets with a keras CNN model and openCV.
MIT License
5.61k stars 1.59k forks source link

I have a error when running video_gradcam_demo.py #64

Closed pidzvnese closed 6 years ago

pidzvnese commented 6 years ago

When I trying running video_gradcam_demo.py have an error:

pidzvnese@piii-pc:~/Desktop/code/face_classification/src$ python3 image_gradcam_demo.py Using TensorFlow backend. Traceback (most recent call last): File "image_gradcam_demo.py", line 22, in image_path = sys.argv[1] IndexError: list index out of range

Can you help me solve it?

stezeo commented 6 years ago

i have same issue. kindly, have you gotten a solution?

stezeo commented 6 years ago

@pidzvnese using the image path of the picture you will like to detect will solve this problem.

example : image_path = "C:\Users\Kasutaja\Pictures\barack.img"