IndexError: tuple index out of range
th3g3ntI3man opened this issue · 2 comments
th3g3ntI3man commented
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 commented
Does the path with the tiles only contain images?
th3g3ntI3man commented
Fixed: Image was too small (I think).