Open GarrickLin opened 9 years ago
what's your python version
Python 2.7.9
Do you use the latest code
yes
I have changed my workspace to ubuntu, there is still an error reported:
File "./demo_train.py", line 76, in <module>
main(sys.argv[1:])
File "./demo_train.py", line 70, in main
cascade.train(save_path)
File "./../cascade/cascade.py", line 78, in train
flag = carm.train(posSet, negSet, bootstrap)
File "./../cascade/carm/boostCart.py", line 49, in train
bootstrap)
File "./../cascade/carm/boostCart.py", line 188, in getNegImgData
flag, conf = self.validate(img[0], rect, initShape)
File "./../cascade/carm/boostCart.py", line 253, in validate
dtype=NP.int8)
File "/usr/lib/python2.7/dist-packages/scipy/sparse/lil.py", line 82, in __init__
self.shape = (M,N)
File "/usr/lib/python2.7/dist-packages/scipy/sparse/base.py", line 71, in set_shape
raise ValueError('invalid shape')
ValueError: invalid shape
have you ever met with this error?
you can debug into the code, And then check the matrix size
Hi, thank you for your publication the code of this paper. It occured an error when I am trying to run the train part in windows7:
Is there any idea about it? Thank you!