Last active
August 5, 2020 11:54
-
-
Save furas/0210ce506e182dfd23c580290dbd382d to your computer and use it in GitHub Desktop.
Original problem: https://gist.github.com/nlothian/0c985ff4beaf0a3fbb0507a24805eb83 and on stackoverflow https://stackoverflow.com/questions/63256952/pil-image-from-numpy-array-indexing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import PIL | |
import numpy | |
import notebook | |
print('Platform:', sys.platform) # linux | |
print('Python :', sys.version.replace('\n', '')) # 3.7.8 (default, Jun 29 2020, 05:44:46) [GCC 7.5.0] | |
print('PIL :', PIL.__version__) # 7.0.0 | |
print('numpy :', numpy.__version__) # 1.18.4 | |
print('notebook:', notebook.__version__) # 6.0.3 | |
import platform | |
print('System :', platform.system(), platform.version()) # Linux #46~18.04.1-Ubuntu SMP Fri Jul 10 07:21:24 UTC 2020 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment