Closed Khurram-Ali closed 6 years ago
Can you post the exact commands you're running, and the exact error? And also please share your environment (Docker container or built by hand, etc.).
I have this problem too. I want to run demo/classifier_web.py with .pkl classifier from example with 'demos/classifier.py' - ./models/openface/celeb-classifier.nn4.small2.v1.pkl. If it will work, I will create my classifier.
root@c433cfd4b076:~/openface# ./demos/classifier_webcam.py --captureDevice 0 models/openface/celeb-classifier.nn4.small2.v1.pkl
Traceback (most recent call last):
File "./demos/classifier_webcam.py", line 191, in
I work with docker. Other examples works very well. Please, help. What's wrong?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I am also facing the same issue while trying to run with a classifier that i created.
Traceback (most recent call last): File "./demos/classifier.py", line 293, in <module> infer(args, args.multi) File "./demos/classifier.py", line 183, in infer reps = getRep(img, multiple) File "./demos/classifier.py", line 58, in getRep raise Exception("Unable to load image: {}".format(imgPath)) Exception: Unable to load image: for_test/Amir
could not find a post that could solve this
PS: I am using it in the provided docker image
i am trying to run the demo/classifier_web.py in standalone format from terminal and providing the generated classifier from the classifier.py demo but am getting unable to load image/frame error