I am trying to execute the code from this URL. However, I started getting this error:
des = np.array(des,np.float32).reshape((1,128)) ValueError: total size
I had the same issue. I found that I changed the data length. A product of reshape arguments should be equal to a length of an array which you are changing. In your case:
reshape
des = np.array(des,np.float32).reshape(1, len(des))