noccn icon indicating copy to clipboard operation
noccn copied to clipboard

Make batch File wont work on CALTECH

Open raillou opened this issue 11 years ago • 1 comments

Hi I'm trying to make batch from CALTECH jpg images and I have this error for some images : im_data= im_data.T.reshape(self.chaneels,-1).reshape(-1) ValueError : total size of new array must be unchanged

I don't understant where it comes from. When I print the size of Im_data it's all the time the same size.

Do you know how I can fix the problem ?

Thank you very much

raillou avatar Mar 12 '14 10:03 raillou

I fix the problem, it was because of black and white image in my database !

raillou avatar Mar 13 '14 14:03 raillou