Хочу собрать Caffe, но не получается. Делаю по инструкции, но на шаге "make runtest" возникает проблема
E0407 15:25:15.252358 20560 io.cpp:80] Could not open or find file examples/images/cat.jpg
F0407 15:25:15.252526 20560 image_data_layer.cpp:67] Check failed: cv_img.data Could not load examples/images/cat.jpg
*** Check failure stack trace: ***
@ 0x7fa5a1627d9d (unknown)
@ 0x7fa5a1629c50 (unknown)
@ 0x7fa5a1627972 (unknown)
@ 0x7fa5a162a66e (unknown)
@ 0x7fa59e398d43 caffe::ImageDataLayer<>::DataLayerSetUp()
@ 0x7fa59e3cd613 caffe::BaseDataLayer<>::LayerSetUp()
@ 0x7fa59e3cd68a caffe::BasePrefetchingDataLayer<>::LayerSetUp()
@ 0x49234f caffe::Layer<>::SetUp()
@ 0x57a4b4 caffe::ImageDataLayerTest_TestResize_Test<>::TestBody()
@ 0x70a4b3 testing::internal::HandleExceptionsInMethodIfSupported<>()
@ 0x7025ea testing::Test::Run()
@ 0x702738 testing::TestInfo::Run()
@ 0x702815 testing::TestCase::Run()
@ 0x7031a8 testing::internal::UnitTestImpl::RunAllTests()
@ 0x703473 testing::UnitTest::Run()
@ 0x456f22 main
@ 0x7fa59d6cd855 (unknown)
@ 0x45dc59 _start
Makefile:523: recipe for target 'runtest' failed
make: *** [runtest] Aborted
CPU_ONLY := 1
CUDA_DIR := /usr/local/cuda
CUDA_ARCH := -gencode arch=compute_20,code=sm_20 \
-gencode arch=compute_20,code=sm_21 \
-gencode arch=compute_30,code=sm_30 \
-gencode arch=compute_35,code=sm_35 \
-gencode arch=compute_50,code=sm_50 \
-gencode arch=compute_50,code=compute_50
BLAS := atlas
PYTHON_INCLUDE := /usr/include/python3.4 \
/usr/lib/python3.4/site-packages/numpy/core/include
# $(ANACONDA_HOME)/include/python2.7 \
# $(ANACONDA_HOME)/lib/python2.7/site-packages/numpy/core/include \
PYTHON_LIB := /usr/lib
INCLUDE_DIRS := $(PYTHON_INCLUDE) /usr/local/include
LIBRARY_DIRS := $(PYTHON_LIB) /usr/local/lib /usr/lib
BUILD_DIR := build
DISTRIBUTE_DIR := distribute
TEST_GPUID := 0
Q ?= @
EAPI="5"
inherit git-r3
DESCRIPTION="caffe deep learning framework"
HOMEPAGE="http://caffe.berkeleyvision.org/"
LICENSE="BSD"
EGIT_REPO_URI="git://github.com/BVLC/caffe.git"
EGIT_COMMIT="8c8e832e71985ba89dcb7c8a60697322c54b5f5b"
EGIT_CLONE_TYPE="single"
KEYWORDS="amd64 amd64-linux"
SLOT="1/${PV}"
DEPEND=">=dev-libs/boost-1.55
dev-cpp/glog
dev-db/lmdb
app-arch/snappy
sci-libs/hdf5
dev-libs/leveldb
dev-libs/protobuf
dev-cpp/gflags
atlas? ( sci-libs/atlas )"
RDEPEND="${DEPEND}"
IUSE="atlas"
src_configure() {
cp Makefile.config.example Makefile.config
sed 's@^# CPU_ONLY := 1$@CPU_ONLY := 1@' -i Makefile.config
}
src_compile() {
emake
}
src_install() {
mkdir -p "${ED}"/usr/bin
tar -C .build_release -c lib | tar -C "${ED}/usr" -x
cp .build_release/tools/caffe.bin "${ED}"/usr/bin
}
>>> import caffe
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named 'caffe'