Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
amuthalingeswaranbose opened this issue Sep 24, 2022 · 0 comments

Comments

@amuthalingeswaranbose
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant