AssertionError: AbstractConv2d Theano optimization failed: there is no implementation available supporting the requested options. Did you exclude both "conv_dnn" and "conv_gemm" from the optimizer? If on GPU, is cuDNN available and does the GPU support it? If on CPU, do you have a BLAS library installed Theano can link against? というエラーが発生しました
エラー文章は下記になります。
Using Theano backend. ERROR (theano.sandbox.cuda): nvcc compiler not found on $PATH. Check your nvcc installation and try again. ERROR (theano.gof.opt): Optimization failure due to: local_abstractconv_check ERROR (theano.gof.opt): node: AbstractConv2d{border_mode='half', subsample=(1, 1), filter_flip=True, imshp=(None, None, None, None), kshp=(32, 3, 3, 3)}(convolution2d_input_1, convolution2d_1_W) ERROR (theano.gof.opt): TRACEBACK: ERROR (theano.gof.opt): Traceback (most recent call last): File "/home/a/anaconda3/envs/main/lib/python2.7/site-packages/theano/gof/opt.py", line 1772, in process_node replacements = lopt.transform(node) File "/home/a/anaconda3/envs/main/lib/python2.7/site-packages/theano/tensor/nnet/opt.py", line 402, in local_abstractconv_check node.op.__class__.__name__) AssertionError: AbstractConv2d Theano optimization failed: there is no implementation available supporting the requested options. Did you exclude both "conv_dnn" and "conv_gemm" from the optimizer? If on GPU, is cuDNN available and does the GPU support it? If on CPU, do you have a BLAS library installed Theano can link against? Traceback (most recent call last): File "9_Layer_CNN.py", line 301, in <module> run_train('9_Layer_CNN') File "9_Layer_CNN.py", line 210, in run_train callbacks=[cp]) File "/home/a/anaconda3/envs/main/lib/python2.7/site-packages/keras/models.py", line 620, in fit sample_weight=sample_weight) File "/home/a/anaconda3/envs/main/lib/python2.7/site-packages/keras/engine/training.py", line 1047, in fit self._make_test_function() File "/home/a/anaconda3/envs/main/lib/python2.7/site-packages/keras/engine/training.py", line 716, in _make_test_function **self._function_kwargs) File "/home/a/anaconda3/envs/main/lib/python2.7/site-packages/keras/backend/theano_backend.py", line 682, in function return Function(inputs, outputs, updates=updates, **kwargs) File "/home/a/anaconda3/envs/main/lib/python2.7/site-packages/keras/backend/theano_backend.py", line 668, in __init__ **kwargs) File "/home/a/anaconda3/envs/main/lib/python2.7/site-packages/theano/compile/function.py", line 320, in function output_keys=output_keys) File "/home/a/anaconda3/envs/main/lib/python2.7/site-packages/theano/compile/pfunc.py", line 479, in pfunc output_keys=output_keys) File "/home/a/anaconda3/envs/main/lib/python2.7/site-packages/theano/compile/function_module.py", line 1776, in orig_function output_keys=output_keys).create( File "/home/a/anaconda3/envs/main/lib/python2.7/site-packages/theano/compile/function_module.py", line 1456, in __init__ optimizer_profile = optimizer(fgraph) File "/home/a/anaconda3/envs/main/lib/python2.7/site-packages/theano/gof/opt.py", line 101, in __call__ return self.optimize(fgraph) File "/home/a/anaconda3/envs/main/lib/python2.7/site-packages/theano/gof/opt.py", line 89, in optimize ret = self.apply(fgraph, *args, **kwargs) File "/home/a/anaconda3/envs/main/lib/python2.7/site-packages/theano/gof/opt.py", line 230, in apply sub_prof = optimizer.optimize(fgraph) File "/home/a/anaconda3/envs/main/lib/python2.7/site-packages/theano/gof/opt.py", line 89, in optimize ret = self.apply(fgraph, *args, **kwargs) File "/home/a/anaconda3/envs/main/lib/python2.7/site-packages/theano/gof/opt.py", line 1879, in apply nb += self.process_node(fgraph, node) File "/home/a/anaconda3/envs/main/lib/python2.7/site-packages/theano/gof/opt.py", line 1777, in process_node lopt, node) File "/home/a/anaconda3/envs/main/lib/python2.7/site-packages/theano/gof/opt.py", line 1673, in warn_inplace return NavigatorOptimizer.warn(exc, nav, repl_pairs, local_opt, node) File "/home/a/anaconda3/envs/main/lib/python2.7/site-packages/theano/gof/opt.py", line 1659, in warn raise exc AssertionError: AbstractConv2d Theano optimization failed: there is no implementation available supporting the requested options. Did you exclude both "conv_dnn" and "conv_gemm" from the optimizer? If on GPU, is cuDNN available and does the GPU support it? If on CPU, do you have a BLAS library installed Theano can link against?
最初の方にも複数エラーが発生していることも確認できましたが、うまく解決することができませんでした。
よろしくお願いいたします。
実装ディープラーニングという本の9_Layer_CNN.pyというプログラムを動かしています。