Package Details: caffe 1.0-16

Git Clone URL: https://aur.archlinux.org/caffe.git (read-only, click to copy)
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: 19
Popularity: 0.002267
First Submitted: 2015-10-17 05:31
Last Updated: 2019-11-20 23:42

Dependencies (34)

Sources (3)

Latest Comments

1 2 3 4 5 6 Next › Last »

ptrstn commented on 2020-06-23 18:25

@dbermond thanks, it is indeed working again after rebuilding the package.

I used the caffe-git package for this job.

dbermond commented on 2020-06-23 17:58

ptrstn libprotobuf.so.22 is no longer on the repositories. You need to rebuild the package against the current protobuf package for linking to the current profobuf library sover.

ptrstn commented on 2020-06-23 17:55

I'm getting the following error message when importing caffe

>>> import caffe
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.8/site-packages/caffe/__init__.py", line 1, in <module>
    from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver, NCCL, Timer
  File "/usr/lib/python3.8/site-packages/caffe/pycaffe.py", line 13, in <module>
    from ._caffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, \
ImportError: libprotobuf.so.22: cannot open shared object file: No such file or directory

I have no idea what happened. It worked a few months ago.

dbermond commented on 2020-05-01 18:58

@jpeter Package is building fine, and also caffe-git. The search path for 'pyconfig.h' header is specified in Makefile.config by the PYTHON_INCLUDE variable.

jpeter commented on 2020-04-29 10:21

caffe, caffe-git don't compile:

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:57:11: fatal error: pyconfig.h: No such file or directory 57 | # include <pyconfig.h> | ^~~~~~~~~~~~ compilation terminated.

dbermond commented on 2019-11-20 23:43

@petronny Package updated for python 3.8.

petronny commented on 2019-11-20 06:09

I get trouble when building against python 3.8.

CXX src/caffe/internal_thread.cpp
CXX src/caffe/layer_factory.cpp
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:57:11: fatal error: pyconfig.h: No such file or directory
   57 | # include <pyconfig.h>
      |           ^~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:593: .build_release/src/caffe/layer_factory.o] Error 1
make: *** Waiting for unfinished jobs....

dbermond commented on 2019-05-18 20:18

@petronny Thank you for pointing this, and sorry for the late answer. Package updated.

petronny commented on 2019-03-04 07:31

Please add texlive-latexextra to makedepends.
Or LaTeX will raise LaTeX Error: Filenewunicodechar.sty' not found`.

Please also check the other caffe* packages.

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.