Skip to content

Commit 995db47

Browse files
committed
bypassing calling xserver
1 parent 3f7c4c2 commit 995db47

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

06_autoencoder.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
import input_data
44
import matplotlib.pyplot as plt
55
import matplotlib.gridspec as gridspec
6-
import pdb
6+
import matplotlib
7+
# Force matplotlib to not use any X-server backend.
8+
matplotlib.use('Agg')
79

810
## Visualizing reconstructions
911
def vis(images, save_name):

0 commit comments

Comments
 (0)