Closed oneOfThePeople closed 4 years ago
Can reproduce
docker run --runtime=nvidia -it --rm --entrypoint bash mapbox/robosat:latest-gpu
$ python3
>>> import PIL.features
>>> PIL.features.check_module('webp')
False
Looks like we do not compile Pillow-SIMD with libwebp support; I just opened https://github.com/mapbox/robosat/pull/194 to fix this.
sudo docker run -it --rm -v $PWD:/data --ipc=host --network=host mapbox/robosat:latest-cpu download https://api.mapbox.com/v4/mapbox.satellite/{z}/{x}/{y}@2x.webp?access_token=my_access_token /data/buildings.tiles /data/images 0%| | 0/4 [00:00<?, ?image/s]Warning: Tile(x=19, y=15, z=5) failed, skipping Warning: Tile(x=20, y=15, z=5) failed, skipping /opt/venv/lib/python3.6/site-packages/PIL/Image.py:2703: UserWarning: image file could not be identified because WEBP support not installed warnings.warn(message) Warning: Tile(x=18, y=15, z=5) failed, skipping Warning: Tile(x=19, y=14, z=5) failed, skipping