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: tuple index out of range #40

Closed
th3g3ntI3man opened this issue Dec 23, 2021 · 2 comments
Closed

IndexError: tuple index out of range #40

th3g3ntI3man opened this issue Dec 23, 2021 · 2 comments

Comments

@th3g3ntI3man
Copy link

Traceback (most recent call last):
File "/home/kali/tiler/tiler.py", line 223, in
main()
File "/home/kali/tiler/tiler.py", line 217, in main
boxes, original_res = get_processed_image_boxes(image_path, tiles)
File "/home/kali/tiler/tiler.py", line 151, in get_processed_image_boxes
img = read_image(image_path)
File "/home/kali/tiler/tiler.py", line 34, in read_image
if img.shape[2] == 3:
IndexError: tuple index out of range

@nuno-faria
Copy link
Owner

Does the path with the tiles only contain images?

@th3g3ntI3man
Copy link
Author

Fixed: Image was too small (I think).

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