How can I fix an index error in my code for training a semantic segmentation network?
I tweaked the existing semantic segmentation example so that I could use my own annotations and images. However, every time I run the code, I keep getting an error that an index of some sort is out of bounds (<=59 to be exact, see the screenshot attached). I traced the stack and found that the number of annotations was 59, while the number of images was 60. I was able to find that I had not annotated one of the images. After fixing this and reexporting the ground truth file, the index error was now <=60. I have attached my code and the groundTruth file I exported from the MATLAB imageLabeler tool. I was wondering if there is an index or list somewhere that I am missing.I tweaked the existing semantic segmentation example so that I could use my own annotations and images. However, every time I run the code, I keep getting an error that an index of some sort is out of bounds (<=59 to be exact, see the screenshot attached). I traced the stack and found that the number of annotations was 59, while the number of images was 60. I was able to find that I had not annotated one of the images. After fixing this and reexporting the ground truth file, the index error was now <=60. I have attached my code and the groundTruth file I exported from the MATLAB imageLabeler tool. I was wondering if there is an index or list somewhere that I am missing. I tweaked the existing semantic segmentation example so that I could use my own annotations and images. However, every time I run the code, I keep getting an error that an index of some sort is out of bounds (<=59 to be exact, see the screenshot attached). I traced the stack and found that the number of annotations was 59, while the number of images was 60. I was able to find that I had not annotated one of the images. After fixing this and reexporting the ground truth file, the index error was now <=60. I have attached my code and the groundTruth file I exported from the MATLAB imageLabeler tool. I was wondering if there is an index or list somewhere that I am missing. image-processing, deep learning MATLAB Answers — New Questions