Line 33-34 in util.py, function next batch
if self.resize: im = np.stack([cv2.resize(im[:,:,i], (cfg.RESIZED_SIZE, cfg.RESIZED_SIZE)) for i in range(im.shape[2])], axis=2)
the image index I at line 30 is overwritten by this new looping variable i.
Please check.
Also, can you confirm if the generator is working for the PASCAL VOC dataset, I see non-realistic repeated patterns in the outputs when I ran the code?
Line 33-34 in util.py, function next batch
if self.resize: im = np.stack([cv2.resize(im[:,:,i], (cfg.RESIZED_SIZE, cfg.RESIZED_SIZE)) for i in range(im.shape[2])], axis=2)the image index I at line 30 is overwritten by this new looping variable i.
Please check.
Also, can you confirm if the generator is working for the PASCAL VOC dataset, I see non-realistic repeated patterns in the outputs when I ran the code?