-
Notifications
You must be signed in to change notification settings - Fork 424
Open
Description
Certain images seem to work, but most fail with a very similar message to the example below
All commands run from tiler's root directory (tiler/)
Run command with .jpg version of image
python3 gen_tiles.py images/test2/test2.jpgOutput
0%| | 0/5 [00:00<?, ?it/s]
Traceback (most recent call last):
File "gen_tiles.py", line 31, in <module>
new_img = img * [b, g, r, 1]
ValueError: operands could not be broadcast together with shapes (1360,1000,3) (4,) Convert image to .png, run command again
python3 gen_tiles.py images/test2/test2.pngOutput:
Traceback (most recent call last):
File "gen_tiles.py", line 23, in <module>
img = img.astype('float')
AttributeError: 'NoneType' object has no attribute 'astype'System information:
Python 3.7.2pip 18.1 from /usr/local/lib/python3.7/site-packages/pip (python 3.7)Mac OS X 10.14.5
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels