Open daniel-bogdoll opened 1 year ago
I encountered the same issue when decoding with compress.load_and_decompress(). Interestingly, compress_and_decompress() seems to work without any issues. I only encounter this error when trying to decompress a saved representation. It is difficult to diagnose, but I hope this extra context can help solve the mystery.
Hey Justin,
thanks for the repo, great work! When I run your decoder, it works just fine for a while, but every once in a while I get the following message:
My setup is a bit complicated to reproduce, as I have embedded the code in a ROS node as part of a larger stack. The decoder (mostly) actually continues working, but I have also seen it crashing. Do you have any suggestions on how to fix it? Would it be sufficient to simply check if tail_ is not empty, so that the slice function cannot fail? As the error occurs so deep "inside" the code, I find it a bit hard to detect the root cause.