deep-visualization-toolbox
deep-visualization-toolbox copied to clipboard
Make pycaffe errors
LIBOOK2:caffe yasha$ make pycaffe
CXX/LD -o python/caffe/_caffe.so python/caffe/_caffe.cpp
In file included from python/caffe/_caffe.cpp:17:
In file included from ./include/caffe/caffe.hpp:12:
./include/caffe/net.hpp:42:5: warning: unused typedef 'INVALID_REQUESTED_LOG_SEVERITY' [-Wunused-local-typedef]
LOG_EVERY_N(WARNING, 1000) << "DEPRECATED: ForwardPrefilled() "
^
/usr/local/include/glog/logging.h:917:30: note: expanded from macro 'LOG_EVERY_N'
INVALID_REQUESTED_LOG_SEVERITY);
^
python/caffe/_caffe.cpp:277:1: warning: unused typedef 'assertion' [-Wunused-local-typedef]
BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(SolveOverloads, Solve, 0, 1);
^
/usr/local/include/boost/python/detail/defaults_gen.hpp:375:5: note: expanded from macro 'BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS'
BOOST_PYTHON_GEN_MEM_FUNCTION_STUB(
^
/usr/local/include/boost/python/detail/defaults_gen.hpp:276:9: note: expanded from macro 'BOOST_PYTHON_GEN_MEM_FUNCTION_STUB'
BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts)
^
/usr/local/include/boost/python/detail/defaults_gen.hpp:216:46: note: expanded from macro 'BOOST_PYTHON_OVERLOAD_CONSTRUCTORS'
N,n_args>::too_many_keywords assertion;
^
python/caffe/_caffe.cpp:277:1: warning: unused typedef 'assertion' [-Wunused-local-typedef]
/usr/local/include/boost/python/detail/defaults_gen.hpp:375:5: note: expanded from macro 'BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS'
BOOST_PYTHON_GEN_MEM_FUNCTION_STUB(
^
/usr/local/include/boost/python/detail/defaults_gen.hpp:276:9: note: expanded from macro 'BOOST_PYTHON_GEN_MEM_FUNCTION_STUB'
BOOST_PYTHON_OVERLOAD_CONSTRUCTORS(fstubs_name, n_args + 1, n_dflts)
^
/usr/local/include/boost/python/detail/defaults_gen.hpp:225:46: note: expanded from macro 'BOOST_PYTHON_OVERLOAD_CONSTRUCTORS'
N,n_args>::too_many_keywords assertion;
^
3 warnings generated.
touch python/caffe/proto/init.py
PROTOC (python) src/caffe/proto/caffe.proto
ALIBOOK2:caffe yasha$ make distribute
add proto
cp -r src/caffe/proto distribute/
add include
cp -r include distribute/ mkdir -p distribute/include/caffe/proto cp .build_release/src/caffe/proto/caffe.pb.h distribute/include/caffe/proto
add tool and example binaries
cp .build_release/tools/caffe.bin .build_release/tools/compute_image_mean.bin .build_release/tools/convert_imageset.bin .build_release/tools/device_query.bin .build_release/tools/extract_features.bin .build_release/tools/finetune_net.bin .build_release/tools/net_speed_benchmark.bin .build_release/tools/test_net.bin .build_release/tools/train_net.bin .build_release/tools/upgrade_net_proto_binary.bin .build_release/tools/upgrade_net_proto_text.bin .build_release/tools/upgrade_solver_proto_text.bin distribute/bin cp .build_release/examples/cifar10/convert_cifar_data.bin .build_release/examples/cpp_classification/classification.bin .build_release/examples/mnist/convert_mnist_data.bin .build_release/examples/siamese/convert_mnist_siamese_data.bin distribute/bin
add libraries
cp .build_release/lib/libcaffe.a distribute/lib install -m 644 .build_release/lib/libcaffe.so.1.0.0-rc3 distribute/lib cd distribute/lib; rm -f libcaffe.so; ln -s libcaffe.so.1.0.0-rc3 libcaffe.so
add python - it's not the standard way, indeed...
cp -r python distribute/python
ALIBOOK2:caffe yasha$ make pycaffe ALIBOOK2:caffe yasha$ make distribute
add proto
cp -r src/caffe/proto distribute/
add include
cp -r include distribute/ mkdir -p distribute/include/caffe/proto cp .build_release/src/caffe/proto/caffe.pb.h distribute/include/caffe/proto
add tool and example binaries
cp .build_release/tools/caffe.bin .build_release/tools/compute_image_mean.bin .build_release/tools/convert_imageset.bin .build_release/tools/device_query.bin .build_release/tools/extract_features.bin .build_release/tools/finetune_net.bin .build_release/tools/net_speed_benchmark.bin .build_release/tools/test_net.bin .build_release/tools/train_net.bin .build_release/tools/upgrade_net_proto_binary.bin .build_release/tools/upgrade_net_proto_text.bin .build_release/tools/upgrade_solver_proto_text.bin distribute/bin cp .build_release/examples/cifar10/convert_cifar_data.bin .build_release/examples/cpp_classification/classification.bin .build_release/examples/mnist/convert_mnist_data.bin .build_release/examples/siamese/convert_mnist_siamese_data.bin distribute/bin
add libraries
cp .build_release/lib/libcaffe.a distribute/lib install -m 644 .build_release/lib/libcaffe.so.1.0.0-rc3 distribute/lib cd distribute/lib; rm -f libcaffe.so; ln -s libcaffe.so.1.0.0-rc3 libcaffe.so
add python - it's not the standard way, indeed...
cp -r python distribute/python