vector-quantize-pytorch
vector-quantize-pytorch copied to clipboard
output dimensions for vector quantize
trafficstars
Hi, I have data that is the shape (batch, channel, height, width), I want to quantize it and I was wondering what the dimension of the vectorquantizer should be. I tried dim=height, but it produces something of dimensions [1, channel] when I need something of the dimension [batch, channel]. any help would be appreciated. thanks
could you show a short example script? I can make the correction for you easier that way