Bag-of-Visual-Words-Python icon indicating copy to clipboard operation
Bag-of-Visual-Words-Python copied to clipboard

ValueError: all the input array dimensions except for the concatenation axis must match exactly

Open RAMIREDDYDEVARAM opened this issue 6 years ago • 0 comments

Can you please please help to this error

File "Bag.py", line 160, in bov.trainModel() File "Bag.py", line 50, in trainModel bov_descriptor_stack = self.bov_helper.formatND(self.descriptor_list) File "/home/ram/RAM/From 11-June-2018/1.Image_classification/Bag-of-Visual-Words-Python/helpers.py", line 87, in formatND vStack = np.vstack((vStack, remaining)) File "/home/ram/anaconda3/envs/pytorch/lib/python2.7/site-packages/numpy/core/shape_base.py", line 234, in vstack return _nx.concatenate([atleast_2d(_m) for _m in tup], 0) ValueError: all the input array dimensions except for the concatenation axis must match exactly

RAMIREDDYDEVARAM avatar Jun 26 '18 10:06 RAMIREDDYDEVARAM