L3C-PyTorch
L3C-PyTorch copied to clipboard
weird problem when encoding
dear Dr. Mentzer:
I modify your code to a stereo compression version, when I try to encode one of two images, the stages after 0 are all good, but at stage 0, I only got an '@', and two images are compressed with 3 bit. The image has a size of 3x375x1242. You can see this figure below. I add a breakpoint in there.
Howevere, when I crop image to a size of 3x300x800, this mistake disappears.
Then I try to use your L3C to compress one image with size of 3x375x1242, see if there is the same problem, but it doesn't.
I don't know where is the problem, do you have any idea?
update:
I don't know why now your code has the same problem. Is that possible that the input is too big?