-
Notifications
You must be signed in to change notification settings - Fork 181
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
Pillow version is low, cause error when saving JPEG files #79
Comments
I was investigating #75 this weekend, and I decided:
a) there is an issue saving JPEGSs (probably this issue here)
b) the warning displayed in console under #75 is unrelated and maybe mostly
harmless
I consider this issue to be important... it sucks that the JPEGs aren't
rendering. This is my top priority for fixing.
…On Tue, Mar 7, 2017 at 5:35 PM, andrewjavao ***@***.***> wrote:
I met this error when I rendering findings to JPEG, using
render_results_for_analysis method in file src/training_visualization.py,
traceback:
Wrong JPEG library version: library is 90, caller expects 80
Traceback (most recent call last):
File "upload_data.py", line 31, in <module>
main()
File "upload_data.py", line 27, in main
render_findings(raster_data_paths, model, training_info,
model_info['bands'], True)
File "/DeepOSM/src/s3_client_deeposm.py", line 30, in render_findings
training_info['tile_size'])
File "/DeepOSM/src/training_visualization.py", line 34, in
render_results_for_analysis tile_size)
File "/DeepOSM/src/training_visualization.py", line 54, in
render_predictions
predictions=predictions_by_naip)
File "/DeepOSM/src/training_visualization.py", line 111, in
render_results_as_image
im.save(outfile, "JPEG")
Upgrade Pillow python library version to 4.0.0 can solve this.
btw, Since deeposm.org site no longger exists, so can you provide codes
that generates local website contents? Is there ways to view the results
other than JPEG with findings on map?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#79>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAbzf_JlOZCpvOGaT7Udkb1LWHLDEthDks5rjgX8gaJpZM4MWQbI>
.
|
Please open this as a separate issue and let's discuss: "btw, Since deeposm.org site no longger exists, so can you provide codes that generates local website contents? Is there ways to view the results other than JPEG with findings on map?" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I met this error when I rendering findings to JPEG, using
render_results_for_analysis
method in filesrc/training_visualization.py
, traceback:Wrong JPEG library version: library is 90, caller expects 80
Traceback (most recent call last):
File "upload_data.py", line 31, in <module>
main()
File "upload_data.py", line 27, in main
render_findings(raster_data_paths, model, training_info, model_info['bands'], True)
File "/DeepOSM/src/s3_client_deeposm.py", line 30, in render_findings
training_info['tile_size'])
File "/DeepOSM/src/training_visualization.py", line 34, in render_results_for_analysis tile_size)
File "/DeepOSM/src/training_visualization.py", line 54, in render_predictions
predictions=predictions_by_naip)
File "/DeepOSM/src/training_visualization.py", line 111, in render_results_as_image
im.save(outfile, "JPEG")
Upgrade Pillow python library version to 4.0.0 can solve this.
btw, Since deeposm.org site no longger exists, so can you provide codes that generates local website contents? Is there ways to view the results other than JPEG with findings on map?
The text was updated successfully, but these errors were encountered: