Skip to content

coding error in nextbatch #2

@krishnakanthnakka

Description

@krishnakanthnakka

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions