Theano CNN on CPU: AbstractConv2d Theano optimization failed

前端 未结 3 2007
长情又很酷
长情又很酷 2021-02-19 05:07

I\'m trying to train a CNN for object detection on images with the CIFAR10 dataset for a seminar at my university but I get the following Error:

Assertion

3条回答
  •  庸人自扰
    2021-02-19 05:44

    I had the same problem but under Linux. It turned out that BLAS was not installed at all, and I had to install it separately, including setting some new environment variables:

    export LD_LIBRARY_PATH="/home/username/anaconda2/lib"
    export LD_PRELOAD="/home/username/anaconda2/lib/libmkl_core.so:/home/MEDIANET/aharjunm/anaconda2/lib/libmkl_sequential.so"
    

    I also had to make sure that there were no conflicting python paths between anaconda and any previous python installation.

    I know that it's going to be vastly different under Windows, but because the error message is exactly the same, the basic premise for a cure should be the same as well: install BLAS. You can find plenty of sources for that, for example here.

提交回复
热议问题