bikz05 / object-detector

Object Detection Framework using HOG as descriptor and Linear SVM as classifier.
MIT License
430 stars 222 forks source link

How to run test-object-detector file? #18

Open TuanHAnhVN opened 7 years ago

TuanHAnhVN commented 7 years ago

When running "test-object-detector" line in terminal, it's not successful. :(. Error: "test-object-detector: command not found". I changed name to test-object-detector.py to run but not success with error: "../data/dataset/CarData.tar.gz: No such file or directory tar (child): ../data/dataset/CarData.tar.gz: Cannot open: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now Traceback (most recent call last): File "../object-detector/extract-features.py", line 5, in from sklearn.externals import joblib ImportError: No module named sklearn.externals Traceback (most recent call last): File "../object-detector/train-classifier.py", line 3, in from sklearn.svm import LinearSVC ImportError: No module named sklearn.svm Traceback (most recent call last): File "../object-detector/test-classifier.py", line 5, in from sklearn.externals import joblib ImportError: No module named sklearn.externals"

Help me! thanks

arcslash commented 7 years ago

Did you check whether the scikit-learn is installed for python2? And download dataset and save in under /data/dataset

karlLiuk commented 5 years ago

u should create a directory 'dataset' below data