richaagrawa / Person-Detection-in-Various-Postures

This project detects a person (from images, videos and from real time webcam) in different postures using HOG features and SVM classifier.
21 stars 11 forks source link

KeyError: 0 in video_detector.py #2

Open m3m3-chan opened 5 years ago

m3m3-chan commented 5 years ago

Hi , Thanks for sharing this work! When I run the video_detector.py I get the following error:

Traceback (most recent call last):
  File "video_detector.py", line 37, in <module>
    clf = joblib.load(os.path.join(model_path, 'svm.model'))
  File "C:\Users\m\Anaconda3\envs\py5\lib\site-packages\joblib\numpy_pickle.py", line 598, in load
    obj = _unpickle(fobj, filename, mmap_mode)
  File "C:\Users\m\Anaconda3\envs\py5\lib\site-packages\joblib\numpy_pickle.py", line 526, in _unpickle
    obj = unpickler.load()
  File "C:\Users\m\Anaconda3\envs\py5\lib\pickle.py", line 1043, in load
    dispatch[key[0]](self)
KeyError: 0

Any way to solve this?

Thanks,

SimitTomar commented 4 years ago

Getting the same error, any help will be appreciated.

Thanks,