object-detector icon indicating copy to clipboard operation
object-detector copied to clipboard

How to run test-object-detector file?

Open TuanHAnhVN opened this issue 8 years ago • 2 comments

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

TuanHAnhVN avatar Aug 29 '17 03:08 TuanHAnhVN

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

arcslash avatar Oct 30 '17 13:10 arcslash

u should create a directory 'dataset' below data

karlLiuk avatar Mar 13 '19 12:03 karlLiuk