Package Base Details: caffe

Git Clone URL: https://aur.archlinux.org/caffe.git (read-only, click to copy)
Keywords: ai artificial cuda intelligence nvidia
Submitter: yiuin
Maintainer: dbermond
Last Packager: dbermond
Votes: 18
Popularity: 0.000000
First Submitted: 2015-10-17 05:31 (UTC)
Last Updated: 2022-03-01 14:24 (UTC)

Packages (2)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6

deltaecho commented on 2016-02-26 11:33 (UTC)

How to fix errors like, "No to_python (by-value) converter found for C++ type: boost::shared_ptr<caffe::Blob<float> >": https://github.com/BVLC/caffe/issues/3494#issuecomment-183874700 Example patch fixing two such errors follows: --- ./python/caffe/_caffe.cpp.orig 2016-02-26 03:21:25.253857064 -0800 +++ ./python/caffe/_caffe.cpp 2016-02-26 03:22:13.420836642 -0800 @@ -256,6 +256,11 @@ bp::with_custodian_and_ward<1, 2, bp::with_custodian_and_ward<1, 3> >()) .def("save", &Net_Save); + // Fix for caffe pythonwrapper for boost 1.6 + boost::python::register_ptr_to_python<boost::shared_ptr<Blob<Dtype> > >(); + boost::python::register_ptr_to_python<boost::shared_ptr<caffe::Net<float> > >(); + // End fix + bp::class_<Blob<Dtype>, shared_ptr<Blob<Dtype> >, boost::noncopyable>( "Blob", bp::no_init) .add_property("shape",

yiuin commented on 2015-10-30 00:33 (UTC)

Thanks guys. Updated for 32bit compatibility and added cmake.

waratuman commented on 2015-10-29 22:16 (UTC)

Just tried to install the package and cmake wasn't listed as a dependency.

davidmcinnis commented on 2015-10-19 04:18 (UTC)

could you please make these modifications in the PKGBUILD so it builds on i686 machines? --- a/PKGBUILD +++ b/PKGBUILD @@ -16,12 +16,18 @@ source=("https://github.com/BVLC/$pkgname/archive/$pkgver.tar.gz") sha256sums=('55c9c20870b30ce398e19e4f1a62ade1eff08fce51e28fa5604035b711978eec') build() { + if [ $CARCH = "i686" ]; then + lib="lib" + else + lib="lib64" + fi + cd "$srcdir/$pkgname-$pkgver" rm -fr build mkdir build cd build - cmake ../ -DAtlas_LAPACK_LIBRARY=/usr/lib64/libatlas.so \ - -DAtlas_BLAS_LIBRARY=/usr/lib64/libatlas.so \ + cmake ../ -DAtlas_LAPACK_LIBRARY="/usr/"$lib"/libatlas.so" \ + -DAtlas_BLAS_LIBRARY="/usr/"$lib"/libatlas.so" \ -DCMAKE_INSTALL_PREFIX=$pkgdir/usr/ make