Skip to content

IndexError: index 2848 is out of bounds for axis 0 with size 2848 #1

Description

@amuthalingeswaranbose

Hi,
I got the following error during the model training,

Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/mrcnn/model.py", line 1709, in data_generator
use_mini_mask=config.USE_MINI_MASK)
File "/usr/local/lib/python3.7/dist-packages/mrcnn/model.py", line 1212, in load_image_gt
mask, class_ids = dataset.load_mask(image_id)
File "/content/Mask-RCNN-Implementation/customTrain.py", line 211, in load_mask
mask[rr, cc, idx] = 1
IndexError: index 2848 is out of bounds for axis 0 with size 2848

anyone can you have a solution kindly help me to fix an this error.
Thank you

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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