Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Looks to me like you have an empty face database. The exception thrown is probably because the argument to np.bincount has length 0. This could either be because k==0 (unlikely) or len(predictor.y)==0. This value is assigned at self.predictor.compute(). Check that dataset_fn (command line argument 2) is valid.