I downloaded the BSDS from The Berkeley Segmentation Dataset and Benchmark data and I need to convert the ground truth images from . mat to .jpg; I tried this code Converting .mat file extension image to .jpg via python proposed by
Mr.Rotem
but it doesn't work for me, I got this error: KeyError: 'cjdata'
I couldn't fix it, I also tried online converters without any avail any help to convert these images