martin-gorner / tensorflow-mnist-tutorial

Sample code for "Tensorflow and deep learning, without a PhD" presentation and code lab.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NotImplementedError: Surface.create_for_data: Not Implemented yet.

minhnv-viosoft opened this issue · comments

after installed successfully and run the first example

python3 mnist_1.0_softmax.py

Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/matplotlib/backends/backend_gtk3agg.py", line 69, in on_draw_event
buf, cairo.FORMAT_ARGB32, width, height)
NotImplementedError: Surface.create_for_data: Not Implemented yet.

for these problems, the solution is usually to try and use different graphics backend in matplotlib:
import matplotlib
matplotlib.use('backend-name-here')

closing without further updates