We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea3096f commit 5c0f472Copy full SHA for 5c0f472
1 file changed
code/rnnrbm.py
@@ -4,10 +4,15 @@
4
# More information at http://deeplearning.net/tutorial/rnnrbm.html
5
6
import glob
7
-import numpy
8
-import pylab
9
import sys
10
+import numpy
+try:
11
+ import pylab
12
+except ImportError:
13
+ print "pylab isn't available, if you use their fonctionality, it will crash"
14
+ print "It can be installed with 'pip install -q Pillow'"
15
+
16
from midi.utils import midiread, midiwrite
17
import theano
18
import theano.tensor as T
0 commit comments