Thursday, 26 July 2018
Tensorflow团队宣布停止支持1.2以后mac版的tensorflow gpu版本。
因此没办法直接安装只能自己用源码编译了。 >
| import time | |
| import matplotlib.pyplot as plt | |
| import numpy as np | |
| import six | |
| from PIL import ImageFont | |
| from numpy.random import randn | |
| # noinspection PyPep8Naming |
| import matplotlib | |
| matplotlib.use('Agg') | |
| import matplotlib.pyplot as plt | |
| from matplotlib.backends.backend_agg import FigureCanvasAgg | |
| from PIL import Image | |
| from PIL import ImageDraw | |
| from PIL import ImageFont |