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

docker cpu download failed #193

Closed
oneOfThePeople opened this issue Nov 10, 2019 · 1 comment · Fixed by #194
Closed

docker cpu download failed #193

oneOfThePeople opened this issue Nov 10, 2019 · 1 comment · Fixed by #194

Comments

@oneOfThePeople
Copy link

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

@daniel-j-h
Copy link
Collaborator

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 #194 to fix this.

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

Successfully merging a pull request may close this issue.

2 participants