Package Details: caffe 1.0-13

Git Clone URL: https://aur.archlinux.org/caffe.git (read-only)
Package Base: caffe
Description: A deep learning framework made with expression, speed, and modularity in mind (cpu only)
Upstream URL: https://caffe.berkeleyvision.org/
Keywords: ai artificial cuda intelligence nvidia
Licenses: BSD
Conflicts: caffe-cpu
Provides: caffe-cpu
Replaces: caffe-cpu
Submitter: yiuin
Maintainer: dbermond
Last Packager: dbermond
Votes: 16
Popularity: 0.949962
First Submitted: 2015-10-17 05:31
Last Updated: 2018-11-08 23:16

Latest Comments

1 2 3 4 5 Next › Last »

bertptrs commented on 2018-10-18 11:42

Rebuilds of the package are broken, since halfway through it attempts to link to itself, and the installed version has priority over the recently compiled one, and if the installed version has linking errors (e.g. boost or something else was updated) you won't be able to build.

A workaround is to delete /usr/lib/libcaffe.so.1.0.0 before building this package.

dbermond commented on 2018-10-05 15:57

@hl037 Yes, just uninstall any caffe package before building.

hl037 commented on 2018-10-05 07:55

EDIT : Do not forget to remove caffe-cpu before building this package, else the libcaffe.so used could be the one previously installed, and that breaks the build

PREVIOUS MESSAGE :

Hello, I am having this error when building (certainly a makeflie / configuration problem as Boost is version .68 now)

/usr/bin/ld: warning: libprotobuf.so.16, needed by /usr/lib/libcaffe.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libboost_system.so.1.67.0, needed by /usr/lib/libcaffe.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libhdf5.so.101, needed by /usr/lib/libcaffe.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libboost_thread.so.1.67.0, needed by /usr/lib/libcaffe.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libboost_python37.so.1.67.0, needed by /usr/lib/libcaffe.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /usr/lib/libcaffe.so: undefined reference to `boost::system::generic_category()'
/usr/bin/ld: /usr/lib/libcaffe.so: undefined reference to `google::protobuf::internal::OnShutdownDestroyMessage(void const*)'
/usr/bin/ld: /usr/lib/libcaffe.so: undefined reference to `google::protobuf::internal::OnShutdownDestroyString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const*)'

dbermond commented on 2018-08-22 18:26

@Ape The caffe packages have changed the naming schema. I have filled a merge request for this package.

Please use caffe for the cpu-only build or caffe-cuda for the cuda-enabled build. All are working fine.

dbermond commented on 2018-08-22 18:19

Important notice:

This package now provides the non-cuda version (as known as the 'cpu only' build).

If you want caffe with cuda support, use package caffe-cuda. This new package naming schema will better reflect the package contents. This conforms to tensorflow package naming from the official repositories.

Ape commented on 2018-08-22 12:45

Fails to build:

In file included from /usr/include/boost/python/detail/prefix.hpp:13,
                 from /usr/include/boost/python/args.hpp:8,
                 from /usr/include/boost/python.hpp:11,
                 from src/caffe/layer_factory.cpp:4:
/usr/include/boost/python/detail/wrap_python.hpp:50:11: fatal error: pyconfig.h: No such file or directory
 # include <pyconfig.h>

dbermond commented on 2018-06-11 01:11

@Alf2010 I see. I also have a lot of AUR packages installed, but they don't give any problem with caffe. A final word that I can say is: try to build each AUR dependency also in a clean chroot before passing them with -- -I in extra-x86_64-build. I cannot say too much, since everything is working fine here, and it was already confirmed to build fine in a chroot by another user. Thank you for appreciating this package and nccl.

Alf2010 commented on 2018-06-10 15:02

I tried to build it in a clean chroot with the help of the wiki page but it fails ([Makefile:626: .build_release/tools/net_speed_benchmark.bin] Error 1). Currently I can't take more time to investigate, I will see it later. I don't know what can be wrong with my system, I am using a lot of aur packages and everything is ok except for caffe. Thank's again for your help and for making this package and the others like nccl.

dbermond commented on 2018-06-08 19:01

@Alf2010 Something should be also wrong in your building tree or system. You need to find what's going on in order to be able to build in a normal environment. Building in a clean chroot assures that everything is fine, eliminating all the interferences.

Alf2010 commented on 2018-06-07 15:32

Hi all, Same error message than Michael with libcudart.so.9.0 I didn't try yet to build it in a clean chroot