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

Continually receive IndexError: index 3 is out of bounds for axis 2 with size 3 #18

Open
alliedcvil opened this issue Sep 12, 2019 · 1 comment

Comments

@alliedcvil
Copy link

When trying to generate tiles I receive this with a standard image.

Traceback (most recent call last):
File "tiler.py", line 221, in
main()
File "tiler.py", line 216, in main
img = create_tiled_image(boxes, original_res, render=conf.RENDER)
File "tiler.py", line 186, in create_tiled_image
place_tile(img, box)
File "tiler.py", line 173, in place_tile
mask = box['tile'][:, :, 3] != 0
IndexError: index 3 is out of bounds for axis 2 with size 3

@alliedcvil alliedcvil changed the title Conntinually receive IndexError: index 3 is out of bounds for axis 2 with size 3 Continually receive IndexError: index 3 is out of bounds for axis 2 with size 3 Sep 12, 2019
@nuno-faria
Copy link
Owner

It should be fixed now. Give it a try and let me know.

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

2 participants