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 128 is out of bounds for axis 1 with size 128 #42

Closed
xiaozhuka opened this issue Apr 29, 2019 · 0 comments
Closed

IndexError: index 128 is out of bounds for axis 1 with size 128 #42

xiaozhuka opened this issue Apr 29, 2019 · 0 comments

Comments

@xiaozhuka
Copy link

File "./code/CornerNet-Lite/core/sample/init.py", line 5, in data_sampling_func
return globals()[sys_configs.sampling_function](sys_configs, db, k_ind, data_aug, debug)
File "./code/CornerNet-Lite/core/sample/cornernet.py", line 139, in cornernet
tl_regrs[b_ind, tag_ind, :] = [fxtl - xtl, fytl - ytl]
IndexError: index 128 is out of bounds for axis 1 with size 128

Solution:
bounding boxes number of current image exceed 128
set max_tag_len in cornetnet.py = 500 or max number of boxes in images

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