问题:
RuntimeError:
Could not import ‘mkl’. If you are using conda, update the numpy
packages to the latest build otherwise, set MKL_THREADING_LAYER=GNU in
your environment for MKL 2018.
If you have MKL 2017 install and are not in a conda environment you
can set the Theano flag blas.check_openmp to False. Be warned that if
you set this flag and don’t set the appropriate environment or make
sure you have the right version you will get wrong results.
解决:
export MKL_THREADING_LAYER=GNU
$ env MKL_THREADING_LAYER=GNU
https://github.com/Theano/Theano/issues/6568