我正在尝试使用取决于git clone https://github.com/UCB-ICSI-Vision-Group/decaf-release.git
的decaf(scipy
),但收到错误:
slesarev-osx-2:decaf-release slesarev$ python build/lib/decaf/demos/demo_sparse_autoencoder.py
WARNING:root:Warning: I cannot import mpi4py. Using a dummpy single noded implementation instead. The program will run in single node mode even if you executed me with mpirun or mpiexec.
We STRONGLY recommend you to try to install mpi and mpi4py.
WARNING:root:mpi4py exception message is: No module named mpi4py
Traceback (most recent call last):
File "build/lib/decaf/demos/demo_sparse_autoencoder.py", line 13, in <module>
from decaf import base
File "/Library/Python/2.7/site-packages/decaf/__init__.py", line 15, in <module>
import layers
File "/Library/Python/2.7/site-packages/decaf/layers/__init__.py", line 3, in <module>
from core_layers import *
File "/Library/Python/2.7/site-packages/decaf/layers/core_layers.py", line 16, in <module>
from decaf.layers.convolution import ConvolutionLayer
File "/Library/Python/2.7/site-packages/decaf/layers/convolution.py", line 5, in <module>
from decaf.util import blasdot
File "/Library/Python/2.7/site-packages/decaf/util/blasdot.py", line 7, in <module>
import _numpy_blasdot
File "/Library/Python/2.7/site-packages/decaf/util/_numpy_blasdot.py", line 5, in <module>
from scipy.linalg.blas import fblas
ImportError: No module named scipy.linalg.blas