Giter Club home page Giter Club logo

caffe-feedstock's Introduction

About caffe

Home: http://caffe.berkeleyvision.org/

Package license: BSD-2-Clause

Feedstock license: BSD 3-Clause

Summary: A deep learning framework made with expression, speed, and modularity in mind

Caffe is a deep learning framework brewed for expression, speed,modularity, openness and community.

Current build status

Azure
VariantStatus
linux_blas_implmklpython3.6.____cpythontarget_platformlinux-64 variant
linux_blas_implmklpython3.7.____cpythontarget_platformlinux-64 variant
linux_blas_implmklpython3.8.____cpythontarget_platformlinux-64 variant
linux_blas_implopenblaspython3.6.____cpythontarget_platformlinux-64 variant
linux_blas_implopenblaspython3.7.____cpythontarget_platformlinux-64 variant
linux_blas_implopenblaspython3.8.____cpythontarget_platformlinux-64 variant
OSX OSX disabled
Windows Windows disabled
Linux_ppc64le ppc64le disabled

Current release info

Name Downloads Version Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms

Installing caffe

Installing caffe from the conda-forge channel can be achieved by adding conda-forge to your channels with:

conda config --add channels conda-forge

Once the conda-forge channel has been enabled, caffe can be installed with:

conda install caffe

It is possible to list all of the versions of caffe available on your platform with:

conda search caffe --channel conda-forge

About conda-forge

Powered by NumFOCUS

conda-forge is a community-led conda channel of installable packages. In order to provide high-quality builds, the process has been automated into the conda-forge GitHub organization. The conda-forge organization contains one repository for each of the installable packages. Such a repository is known as a feedstock.

A feedstock is made up of a conda recipe (the instructions on what and how to build the package) and the necessary configurations for automatic building using freely available continuous integration services. Thanks to the awesome service provided by CircleCI, AppVeyor and TravisCI it is possible to build and upload installable packages to the conda-forge Anaconda-Cloud channel for Linux, Windows and OSX respectively.

To manage the continuous integration and simplify feedstock maintenance conda-smithy has been developed. Using the conda-forge.yml within this repository, it is possible to re-render all of this feedstock's supporting files (e.g. the CI configuration files) with conda smithy rerender.

For more information please check the conda-forge documentation.

Terminology

feedstock - the conda recipe (raw material), supporting scripts and CI configuration.

conda-smithy - the tool which helps orchestrate the feedstock. Its primary use is in the construction of the CI .yml files and simplify the management of many feedstocks.

conda-forge - the place where the feedstock and smithy live and work to produce the finished article (built conda distributions)

Updating caffe-feedstock

If you would like to improve the caffe recipe or build a new package version, please fork this repository and submit a PR. Upon submission, your changes will be run on the appropriate platforms to give the reviewer an opportunity to confirm that the changes result in a successful build. Once merged, the recipe will be re-built and uploaded automatically to the conda-forge channel, whereupon the built conda packages will be available for everybody to install and use from the conda-forge channel. Note that all branches in the conda-forge/caffe-feedstock are immediately built and any created packages are uploaded, so PRs should be based on branches in forks and branches in the main repository should only be used to build distinct package versions.

In order to produce a uniquely identifiable distribution:

  • If the version of a package is not being increased, please add or increase the build/number.
  • If the version of a package is being increased, please remember to return the build/number back to 0.

Feedstock Maintainers

caffe-feedstock's People

Contributors

183amir avatar beckermr avatar conda-forge-admin avatar djsutherland avatar jakirkham avatar jjhelmus avatar jschueller avatar marcelotrevisani avatar ocefpaf avatar qwhelan avatar vhffm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

caffe-feedstock's Issues

ImportError: libprotobuf.so.21: cannot open shared object file: No such file or directory

Actual Behavior

So i'm trying this code demo here: https://tolotra.com/2018/09/15/how-to-retrain-ssd-mobilenet-for-real-time-object-detection-using-a-raspberry-pi-and-movidius-neural-compute-stick/#comment-71 and installed the caffe library using conda-forge repo, but when i tried to run a shell program like this:

root_dir=$cur_dir/../..

cd $root_dir

redo=1
dataset_name="bird_dataset" #Edit this to your dataset name. Don't change anything else
data_root_dir="$HOME/python_train/mobilenet-ssd/$dataset_name"
mapfile="$data_root_dir/labelmap.prototxt"
anno_type="detection"
db="lmdb"
min_dim=0
max_dim=0
width=0
height=0

extra_cmd="--encode-type=jpg --encoded"
if [ $redo ]
then
  extra_cmd="$extra_cmd --redo"
fi
for subset in test trainval
do
  python $root_dir/scripts/create_annoset.py --anno-type=$anno_type --label-map-file=$mapfile --min-dim=$min_dim --max-dim=$max_dim --resize-width=$width --resize-height=$height --check-label $extra_cmd $data_root_dir $data_root_dir/Structure/$subset.txt $data_root_dir/$dataset_name/$db/$dataset_name"_"$subset"_"$db examples/$dataset_name
done

that used caffe library, i got this problem:

ImportError: libprotobuf.so.21: cannot open shared object file: No such file or directory

Expected Behavior

Steps to Reproduce

Anaconda or Miniconda version: conda 4.8.1
Operating System: Arch Linux
conda info
active environment : env_dlib
    active env location : /home/rheza/.conda/envs/env_dlib
            shell level : 2
       user config file : /home/rheza/.condarc
 populated config files : /home/rheza/.condarc
          conda version : 4.8.1
    conda-build version : 3.18.9
         python version : 3.7.4.final.0
       virtual packages : __glibc=2.30
       base environment : /opt/anaconda  (read only)
           channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /opt/anaconda/pkgs
                          /home/rheza/.conda/pkgs
       envs directories : /home/rheza/.conda/envs
                          /opt/anaconda/envs
               platform : linux-64
             user-agent : conda/4.8.1 requests/2.22.0 CPython/3.7.4 Linux/4.19.101-1-lts arch/rolling glibc/2.30
                UID:GID : 1000:1000
             netrc file : None
           offline mode : False

conda list --show-channel-urls
# packages in environment at /home/rheza/.conda/envs/env_dlib:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                        main    defaults
absl-py                   0.9.0                    pypi_0    pypi
astor                     0.8.1                    pypi_0    pypi
backcall                  0.1.0                      py_0    conda-forge
boost                     1.70.0           py36h9de70de_1    conda-forge
boost-cpp                 1.70.0               h8e57a91_2    conda-forge
bzip2                     1.0.8                h7b6447c_0    defaults
ca-certificates           2019.11.28           hecc5488_0    conda-forge
cachetools                4.0.0                    pypi_0    pypi
caffe                     1.0             py36hc3c8a5e_203    conda-forge
cairo                     1.16.0            hfb77d84_1002    conda-forge
certifi                   2019.11.28               py36_0    conda-forge
chardet                   3.0.4                    pypi_0    pypi
click                     7.0                      py36_0    defaults
cloudpickle               1.2.2                      py_1    conda-forge
cycler                    0.10.0                   py36_0    defaults
cytoolz                   0.10.1           py36h516909a_0    conda-forge
dask-core                 2.10.1                     py_0    conda-forge
dbus                      1.13.12              h746ee38_0    defaults
decorator                 4.4.1                      py_0    conda-forge
dlib                      19.19            py36h5245418_0    conda-forge
expat                     2.2.6                he6710b0_0    defaults
ffmpeg                    4.1.3                h167e202_0    conda-forge
flask                     1.1.1                      py_0    defaults
fontconfig                2.13.1            h86ecdb6_1001    conda-forge
freetype                  2.9.1                h8a8886c_1    defaults
gast                      0.2.2                    pypi_0    pypi
gflags                    2.2.2             he1b5a44_1002    conda-forge
giflib                    5.1.4                h14c3975_1    defaults
glib                      2.63.1               h5a9c865_0    defaults
glog                      0.4.0                he1b5a44_1    conda-forge
gmp                       6.1.2                h6c8ec71_1    defaults
gnutls                    3.6.5             hd3a4fd2_1002    conda-forge
google-auth               1.11.0                   pypi_0    pypi
google-auth-oauthlib      0.4.1                    pypi_0    pypi
google-pasta              0.1.8                    pypi_0    pypi
graphite2                 1.3.13               h23475e2_0    defaults
grpcio                    1.26.0                   pypi_0    pypi
gst-plugins-base          1.14.5               h0935bb2_0    conda-forge
gstreamer                 1.14.5               h36ae1b5_0    conda-forge
h5py                      2.10.0          nompi_py36h513d04c_101    conda-forge
harfbuzz                  2.4.0                h9f30f68_3    conda-forge
hdf5                      1.10.5          nompi_h3c11f04_1104    conda-forge
icu                       64.2                 he1b5a44_1    conda-forge
idna                      2.8                      pypi_0    pypi
imageio                   2.6.1                    py36_0    conda-forge
imutils                   0.5.3                    py36_0    conda-forge
ipython                   7.12.0           py36h5ca1d4c_0    conda-forge
ipython_genutils          0.2.0                      py_1    conda-forge
itsdangerous              1.1.0                    py36_0    defaults
jasper                    1.900.1              hd497a04_4    defaults
jedi                      0.16.0                   py36_0    conda-forge
jinja2                    2.10.3                     py_0    defaults
jpeg                      9c                h14c3975_1001    conda-forge
keras-applications        1.0.8                    pypi_0    pypi
keras-preprocessing       1.1.0                    pypi_0    pypi
kiwisolver                1.1.0            py36he6710b0_0    defaults
lame                      3.100                h7b6447c_0    defaults
ld_impl_linux-64          2.33.1               h53a641e_7    defaults
leveldb                   1.18              h6416369_1001    conda-forge
libblas                   3.8.0               14_openblas    conda-forge
libcblas                  3.8.0               14_openblas    conda-forge
libedit                   3.1.20181209         hc058e9b_0    defaults
libffi                    3.2.1                hd88cf55_4    defaults
libgcc-ng                 9.1.0                hdf63c60_0    defaults
libgfortran-ng            7.3.0                hdf63c60_0    defaults
libiconv                  1.15                 h63c8f33_5    defaults
liblapack                 3.8.0               14_openblas    conda-forge
liblapacke                3.8.0               14_openblas    conda-forge
libopenblas               0.3.7                h5ec1e0e_6    conda-forge
libpng                    1.6.37               hbc83047_0    defaults
libprotobuf               3.4.1                h5b8497f_0    defaults
libstdcxx-ng              9.1.0                hdf63c60_0    defaults
libtiff                   4.1.0                h2733197_0    defaults
libuuid                   2.32.1            h14c3975_1000    conda-forge
libwebp                   1.0.1                h8e7db2f_0    defaults
libxcb                    1.13                 h1bed415_1    defaults
libxml2                   2.9.9                hea5a465_1    defaults
lmdb                      0.9.24               h516909a_0    conda-forge
lxml                      4.2.4                    pypi_0    pypi
markdown                  3.1.1                    pypi_0    pypi
markupsafe                1.1.1            py36h7b6447c_0    defaults
matplotlib                3.1.2                    py36_1    conda-forge
matplotlib-base           3.1.2            py36h250f245_1    conda-forge
ncurses                   6.1                  he6710b0_1    defaults
nettle                    3.4.1             h1bed415_1002    conda-forge
networkx                  2.4                        py_0    conda-forge
numpy                     1.17.5           py36h95a1406_0    conda-forge
oauthlib                  3.1.0                    pypi_0    pypi
olefile                   0.46                     py36_0    defaults
opencv                    4.1.0            py36h3aa1047_6    conda-forge
openh264                  1.8.0                hd408876_0    defaults
openssl                   1.1.1d               h516909a_0    conda-forge
opt-einsum                3.1.0                    pypi_0    pypi
pandas                    1.0.0            py36hb3f55d8_0    conda-forge
parso                     0.6.1                      py_0    conda-forge
pcre                      8.43                 he6710b0_0    defaults
pexpect                   4.8.0                    py36_0    conda-forge
pickleshare               0.7.5                 py36_1000    conda-forge
pillow                    7.0.0            py36hb39fc2d_0    defaults
pip                       20.0.2                   py36_1    defaults
pixman                    0.38.0               h7b6447c_0    defaults
prompt_toolkit            3.0.3                      py_0    conda-forge
protobuf                  3.11.2                   pypi_0    pypi
ptyprocess                0.6.0                   py_1001    conda-forge
pyasn1                    0.4.8                    pypi_0    pypi
pyasn1-modules            0.2.8                    pypi_0    pypi
pygments                  2.5.2                      py_0    conda-forge
pyparsing                 2.4.6                      py_0    defaults
pyqt                      5.9.2            py36h05f1152_2    defaults
pyqt5                     5.10.1                   pypi_0    pypi
python                    3.6.10               h0371630_0    defaults
python-dateutil           2.8.1                      py_0    defaults
python-gflags             3.1.2                      py_0    conda-forge
python-leveldb            0.194           py36he1b5a44_1000    conda-forge
pytz                      2019.3                     py_0    conda-forge
pywavelets                1.1.1            py36hc1659b7_0    conda-forge
pyyaml                    5.3              py36h516909a_0    conda-forge
qt                        5.9.7                h0c104cb_3    conda-forge
readline                  7.0                  h7b6447c_5    defaults
requests                  2.22.0                   pypi_0    pypi
requests-oauthlib         1.3.0                    pypi_0    pypi
rsa                       4.0                      pypi_0    pypi
scikit-image              0.16.2           py36hb3f55d8_0    conda-forge
scipy                     1.4.1            py36h921218d_0    conda-forge
setuptools                45.1.0                   py36_0    defaults
sip                       4.19.8                   pypi_0    pypi
six                       1.14.0                   py36_0    defaults
snappy                    1.1.8                he1b5a44_1    conda-forge
sqlite                    3.30.1               h7b6447c_0    defaults
tensorboard               2.1.0                    pypi_0    pypi
tensorflow                2.1.0                    pypi_0    pypi
tensorflow-estimator      2.1.0                    pypi_0    pypi
termcolor                 1.1.0                    pypi_0    pypi
tk                        8.6.10               hed695b0_0    conda-forge
toolz                     0.10.0                     py_0    conda-forge
tornado                   6.0.3            py36h7b6447c_0    defaults
traitlets                 4.3.3                    py36_0    conda-forge
urllib3                   1.25.8                   pypi_0    pypi
wcwidth                   0.1.8                      py_0    conda-forge
werkzeug                  0.16.1                     py_0    defaults
wheel                     0.34.1                   py36_0    defaults
wrapt                     1.11.2                   pypi_0    pypi
x264                      1!152.20180806       h7b6447c_0    defaults
xorg-kbproto              1.0.7             h14c3975_1002    conda-forge
xorg-libice               1.0.10               h516909a_0    conda-forge
xorg-libsm                1.2.3             h84519dc_1000    conda-forge
xorg-libx11               1.6.9                h516909a_0    conda-forge
xorg-libxext              1.3.4                h516909a_0    conda-forge
xorg-libxrender           0.9.10            h516909a_1002    conda-forge
xorg-renderproto          0.11.1            h14c3975_1002    conda-forge
xorg-xextproto            7.3.0             h14c3975_1002    conda-forge
xorg-xproto               7.0.31            h14c3975_1007    conda-forge
xz                        5.2.4                h14c3975_4    defaults
yaml                      0.2.2                h516909a_1    conda-forge
zlib                      1.2.11               h7b6447c_3    defaults
zstd                      1.3.7                h0b5b093_0    defaults


please, help me. i'm stuck at this process. thank you

caffe fails to import with gflags 2.2.0 package

The gflags 2.2.0 package does not provide a libgflags.so.2 file (conda-forge/gflags-feedstock#9) which causes an issue with the current caffe build on Linux as the package links against this library.

Update the requirements to gflags >=2.2 and rebuilding the package will fix the immediate issue although the existing packages will still be broken as their requirements should be gflags <2.2.

(caffe_test) ~$ python -c "import caffe"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/jhelmus/anaconda3/envs/caffe_test/lib/python3.6/site-packages/caffe/__init__.py", line 1, in <module>
    from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver, NCCL, Timer
  File "/home/jhelmus/anaconda3/envs/caffe_test/lib/python3.6/site-packages/caffe/pycaffe.py", line 13, in <module>
    from ._caffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, \
ImportError: libgflags.so.2: cannot open shared object file: No such file or directory

Linux Mint Import Error

I ran the commands for installing a caffe environment but it doesn't work at all, it seems. I'm on Linux Mint and used the following:

olivia@Love11 ~/Downloads $ conda create -n CAFFE -c conda-forge caffe
Fetching package metadata .........
Solving package specifications: ..........

Package plan for installation in environment /home/olivia/anaconda2/envs/CAFFE:

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    ca-certificates-2016.9.26  |                0         162 KB  conda-forge
    gettext-0.19.7             |                1         5.6 MB  conda-forge
    gflags-2.1.2               |                0          85 KB  conda-forge
    glog-0.3.4                 |                0         570 KB  conda-forge
    icu-56.1                   |                4        21.9 MB  conda-forge
    jpeg-9b                    |                0         918 KB  conda-forge
    libffi-3.2.1               |                2          47 KB  conda-forge
    libiconv-1.14              |                3         2.0 MB  conda-forge
    lmdb-0.9.18                |                0         499 KB  conda-forge
    ncurses-5.9                |                9         954 KB  conda-forge
    pcre-8.38                  |                1         631 KB  conda-forge
    pixman-0.34.0              |                0         3.6 MB  conda-forge
    snappy-1.1.3               |                2         103 KB  conda-forge
    sqlite-3.13.0              |                1         4.9 MB  conda-forge
    tk-8.5.19                  |                0         1.9 MB  conda-forge
    xz-5.2.2                   |                0         853 KB  conda-forge
    yaml-0.1.6                 |                0         300 KB  conda-forge
    zlib-1.2.8                 |                3          87 KB  conda-forge
    glib-2.48.0                |                4         4.7 MB  conda-forge
    hdf5-1.8.17                |                7         3.9 MB  conda-forge
    jasper-1.900.1             |                3         271 KB  conda-forge
    leveldb-1.18               |                0         308 KB  conda-forge
    libpng-1.6.26              |                0         297 KB  conda-forge
    libtiff-4.0.6              |                7         507 KB  conda-forge
    libxml2-2.9.4              |                3         4.9 MB  conda-forge
    openblas-0.2.19            |                0        14.1 MB  conda-forge
    openssl-1.0.2h             |                2         3.4 MB  conda-forge
    readline-6.2               |                0         713 KB  conda-forge
    blas-1.1                   |         openblas           1 KB  conda-forge
    freetype-2.6.3             |                1         2.8 MB  conda-forge
    python-2.7.12              |                1        15.5 MB  conda-forge
    backports.shutil_get_terminal_size-1.0.0|           py27_0           5 KB  conda-forge
    boost-1.62.0               |           py27_0        17.3 MB  conda-forge
    certifi-2016.9.26          |           py27_0         217 KB  conda-forge
    decorator-4.0.10           |           py27_0          12 KB  conda-forge
    enum34-1.1.6               |           py27_1          54 KB  conda-forge
    fontconfig-2.11.1          |                3         874 KB  conda-forge
    functools32-3.2.3.2        |           py27_1          16 KB  conda-forge
    ipython_genutils-0.1.0     |           py27_0          33 KB  conda-forge
    numpy-1.11.2               |py27_blas_openblas_202         7.1 MB  conda-forge
    pillow-3.4.2               |           py27_0         926 KB  conda-forge
    ptyprocess-0.5.1           |           py27_0          19 KB  conda-forge
    pyparsing-2.1.10           |           py27_0          91 KB  conda-forge
    python-gflags-2.0          |           py27_1          52 KB  conda-forge
    python-leveldb-0.193       |           py27_0         1.0 MB  conda-forge
    pytz-2016.7                |           py27_0         161 KB  conda-forge
    pyyaml-3.11                |           py27_0         339 KB  conda-forge
    simplegeneric-0.8.1        |           py27_0           6 KB  conda-forge
    sip-4.18                   |           py27_0         263 KB  conda-forge
    six-1.10.0                 |           py27_1          18 KB  conda-forge
    wcwidth-0.1.7              |           py27_0          22 KB  conda-forge
    cairo-1.12.18              |                8         1.1 MB  conda-forge
    cycler-0.10.0              |           py27_0          13 KB  conda-forge
    h5py-2.6.0                 |      np111py27_7         2.7 MB  conda-forge
    networkx-1.11              |           py27_0         1.5 MB  conda-forge
    opencv-2.4.12              |      np111py27_2         7.8 MB  conda-forge
    pathlib2-2.1.0             |           py27_0          26 KB  conda-forge
    pexpect-4.2.1              |           py27_0          65 KB  conda-forge
    python-dateutil-2.6.0      |           py27_0         232 KB  conda-forge
    scipy-0.17.1               |np111py27_blas_openblas_205        31.4 MB  conda-forge
    setuptools-28.8.0          |           py27_0         356 KB  conda-forge
    traitlets-4.3.1            |           py27_0         121 KB  conda-forge
    harfbuzz-1.0.6             |                0         3.0 MB  conda-forge
    pandas-0.19.1              |      np111py27_0        16.7 MB  conda-forge
    pickleshare-0.7.3          |           py27_0           8 KB  conda-forge
    protobuf-3.0.0             |           py27_0         6.6 MB  conda-forge
    pygments-2.1.3             |           py27_1         1.2 MB  conda-forge
    wheel-0.29.0               |           py27_0          81 KB  conda-forge
    pango-1.40.1               |                0         912 KB  conda-forge
    pip-9.0.1                  |           py27_0         1.6 MB  conda-forge
    prompt_toolkit-1.0.9       |           py27_0         313 KB  conda-forge
    ipython-5.1.0              |           py27_1         980 KB  conda-forge
    qt-4.8.7                   |                3        31.3 MB  conda-forge
    pyqt-4.11.4                |           py27_1         3.5 MB  conda-forge
    matplotlib-1.5.3           |      np111py27_2         6.6 MB  conda-forge
    scikit-image-0.12.3        |      np111py27_0        27.3 MB  conda-forge
    caffe-1.0.0rc3             |py27_blas_openblas_203         2.3 MB  conda-forge
    ------------------------------------------------------------
                                           Total:       272.6 MB

The following NEW packages will be INSTALLED:

    backports.shutil_get_terminal_size: 1.0.0-py27_0                       conda-forge
    blas:                               1.1-openblas                       conda-forge
    boost:                              1.62.0-py27_0                      conda-forge
    ca-certificates:                    2016.9.26-0                        conda-forge
    caffe:                              1.0.0rc3-py27_blas_openblas_203    conda-forge [blas_openblas]
    cairo:                              1.12.18-8                          conda-forge
    certifi:                            2016.9.26-py27_0                   conda-forge
    cycler:                             0.10.0-py27_0                      conda-forge
    decorator:                          4.0.10-py27_0                      conda-forge
    enum34:                             1.1.6-py27_1                       conda-forge
    fontconfig:                         2.11.1-3                           conda-forge
    freetype:                           2.6.3-1                            conda-forge
    functools32:                        3.2.3.2-py27_1                     conda-forge
    gettext:                            0.19.7-1                           conda-forge
    gflags:                             2.1.2-0                            conda-forge
    glib:                               2.48.0-4                           conda-forge
    glog:                               0.3.4-0                            conda-forge
    h5py:                               2.6.0-np111py27_7                  conda-forge
    harfbuzz:                           1.0.6-0                            conda-forge
    hdf5:                               1.8.17-7                           conda-forge
    icu:                                56.1-4                             conda-forge
    ipython:                            5.1.0-py27_1                       conda-forge
    ipython_genutils:                   0.1.0-py27_0                       conda-forge
    jasper:                             1.900.1-3                          conda-forge
    jpeg:                               9b-0                               conda-forge
    leveldb:                            1.18-0                             conda-forge
    libffi:                             3.2.1-2                            conda-forge
    libgfortran:                        3.0.0-1                                       
    libiconv:                           1.14-3                             conda-forge
    libpng:                             1.6.26-0                           conda-forge
    libtiff:                            4.0.6-7                            conda-forge
    libxml2:                            2.9.4-3                            conda-forge
    lmdb:                               0.9.18-0                           conda-forge
    matplotlib:                         1.5.3-np111py27_2                  conda-forge
    ncurses:                            5.9-9                              conda-forge
    networkx:                           1.11-py27_0                        conda-forge
    numpy:                              1.11.2-py27_blas_openblas_202      conda-forge [blas_openblas]
    openblas:                           0.2.19-0                           conda-forge
    opencv:                             2.4.12-np111py27_2                 conda-forge
    openssl:                            1.0.2h-2                           conda-forge
    pandas:                             0.19.1-np111py27_0                 conda-forge
    pango:                              1.40.1-0                           conda-forge
    pathlib2:                           2.1.0-py27_0                       conda-forge
    pcre:                               8.38-1                             conda-forge
    pexpect:                            4.2.1-py27_0                       conda-forge
    pickleshare:                        0.7.3-py27_0                       conda-forge
    pillow:                             3.4.2-py27_0                       conda-forge
    pip:                                9.0.1-py27_0                       conda-forge
    pixman:                             0.34.0-0                           conda-forge
    prompt_toolkit:                     1.0.9-py27_0                       conda-forge
    protobuf:                           3.0.0-py27_0                       conda-forge
    ptyprocess:                         0.5.1-py27_0                       conda-forge
    pygments:                           2.1.3-py27_1                       conda-forge
    pyparsing:                          2.1.10-py27_0                      conda-forge
    pyqt:                               4.11.4-py27_1                      conda-forge
    python:                             2.7.12-1                           conda-forge
    python-dateutil:                    2.6.0-py27_0                       conda-forge
    python-gflags:                      2.0-py27_1                         conda-forge
    python-leveldb:                     0.193-py27_0                       conda-forge
    pytz:                               2016.7-py27_0                      conda-forge
    pyyaml:                             3.11-py27_0                        conda-forge
    qt:                                 4.8.7-3                            conda-forge
    readline:                           6.2-0                              conda-forge
    scikit-image:                       0.12.3-np111py27_0                 conda-forge
    scipy:                              0.17.1-np111py27_blas_openblas_205 conda-forge [blas_openblas]
    setuptools:                         28.8.0-py27_0                      conda-forge
    simplegeneric:                      0.8.1-py27_0                       conda-forge
    sip:                                4.18-py27_0                        conda-forge
    six:                                1.10.0-py27_1                      conda-forge
    snappy:                             1.1.3-2                            conda-forge
    sqlite:                             3.13.0-1                           conda-forge
    tk:                                 8.5.19-0                           conda-forge
    traitlets:                          4.3.1-py27_0                       conda-forge
    wcwidth:                            0.1.7-py27_0                       conda-forge
    wheel:                              0.29.0-py27_0                      conda-forge
    xz:                                 5.2.2-0                            conda-forge
    yaml:                               0.1.6-0                            conda-forge
    zlib:                               1.2.8-3                            conda-forge

Proceed ([y]/n)? y

Pruning fetched packages from the cache ...
Fetching packages ...
ca-certificate 100% |##################################| Time: 0:00:00 358.06 kB/s
gettext-0.19.7 100% |##################################| Time: 0:00:02   2.51 MB/s
gflags-2.1.2-0 100% |##################################| Time: 0:00:00 285.02 kB/s
glog-0.3.4-0.t 100% |##################################| Time: 0:00:00 593.82 kB/s
icu-56.1-4.tar 100% |##################################| Time: 0:00:03   6.87 MB/s
jpeg-9b-0.tar. 100% |##################################| Time: 0:00:01 696.45 kB/s
libffi-3.2.1-2 100% |##################################| Time: 0:00:00 196.26 kB/s
libiconv-1.14- 100% |##################################| Time: 0:00:01   1.18 MB/s
lmdb-0.9.18-0. 100% |##################################| Time: 0:00:00 603.14 kB/s
ncurses-5.9-9. 100% |##################################| Time: 0:00:01 701.39 kB/s
pcre-8.38-1.ta 100% |##################################| Time: 0:00:00 711.47 kB/s
pixman-0.34.0- 100% |##################################| Time: 0:00:02   1.74 MB/s
snappy-1.1.3-2 100% |##################################| Time: 0:00:00 276.29 kB/s
sqlite-3.13.0- 100% |##################################| Time: 0:00:02   2.43 MB/s
tk-8.5.19-0.ta 100% |##################################| Time: 0:00:01   1.44 MB/s
xz-5.2.2-0.tar 100% |##################################| Time: 0:00:01 712.01 kB/s
yaml-0.1.6-0.t 100% |##################################| Time: 0:00:00 359.84 kB/s
zlib-1.2.8-3.t 100% |##################################| Time: 0:00:00 271.07 kB/s
glib-2.48.0-4. 100% |##################################| Time: 0:00:02   2.17 MB/s
hdf5-1.8.17-7. 100% |##################################| Time: 0:00:02   2.05 MB/s
jasper-1.900.1 100% |##################################| Time: 0:00:00 447.18 kB/s
leveldb-1.18-0 100% |##################################| Time: 0:00:00 518.07 kB/s
libpng-1.6.26- 100% |##################################| Time: 0:00:00 440.25 kB/s
libtiff-4.0.6- 100% |##################################| Time: 0:00:00 672.81 kB/s
libxml2-2.9.4- 100% |##################################| Time: 0:00:02   2.33 MB/s
openblas-0.2.1 100% |##################################| Time: 0:00:03   3.75 MB/s
openssl-1.0.2h 100% |##################################| Time: 0:00:02   1.66 MB/s
readline-6.2-0 100% |##################################| Time: 0:00:01 709.19 kB/s
blas-1.1-openb 100% |##################################| Time: 0:00:00 504.22 kB/s
freetype-2.6.3 100% |##################################| Time: 0:00:01   1.57 MB/s
python-2.7.12- 100% |##################################| Time: 0:00:03   4.88 MB/s
backports.shut 100% |##################################| Time: 0:00:00   1.60 MB/s
boost-1.62.0-p 100% |##################################| Time: 0:00:03   4.66 MB/s
certifi-2016.9 100% |##################################| Time: 0:00:00 413.73 kB/s
decorator-4.0. 100% |##################################| Time: 0:00:00   3.76 MB/s
enum34-1.1.6-p 100% |##################################| Time: 0:00:00 190.04 kB/s
fontconfig-2.1 100% |##################################| Time: 0:00:01 773.11 kB/s
functools32-3. 100% |##################################| Time: 0:00:00 206.00 kB/s
ipython_genuti 100% |##################################| Time: 0:00:00  44.35 kB/s
numpy-1.11.2-p 100% |##################################| Time: 0:00:02   3.44 MB/s
pillow-3.4.2-p 100% |##################################| Time: 0:00:01 701.32 kB/s
ptyprocess-0.5 100% |##################################| Time: 0:00:00  22.10 kB/s
pyparsing-2.1. 100% |##################################| Time: 0:00:00 294.90 kB/s
python-gflags- 100% |##################################| Time: 0:00:00 224.53 kB/s
python-leveldb 100% |##################################| Time: 0:00:00   1.09 MB/s
pytz-2016.7-py 100% |##################################| Time: 0:00:00 292.58 kB/s
pyyaml-3.11-py 100% |##################################| Time: 0:00:00 453.43 kB/s
simplegeneric- 100% |##################################| Time: 0:00:00   2.07 MB/s
sip-4.18-py27_ 100% |##################################| Time: 0:00:00 467.58 kB/s
six-1.10.0-py2 100% |##################################| Time: 0:00:00 236.37 kB/s
wcwidth-0.1.7- 100% |##################################| Time: 0:00:00 278.42 kB/s
cairo-1.12.18- 100% |##################################| Time: 0:00:01 776.29 kB/s
cycler-0.10.0- 100% |##################################| Time: 0:00:00 156.43 kB/s
h5py-2.6.0-np1 100% |##################################| Time: 0:00:01   1.82 MB/s
networkx-1.11- 100% |##################################| Time: 0:00:01 983.70 kB/s
opencv-2.4.12- 100% |##################################| Time: 0:00:02   3.51 MB/s
pathlib2-2.1.0 100% |##################################| Time: 0:00:00 339.48 kB/s
pexpect-4.2.1- 100% |##################################| Time: 0:00:00 291.71 kB/s
python-dateuti 100% |##################################| Time: 0:00:00 407.36 kB/s
scipy-0.17.1-n 100% |##################################| Time: 0:00:04   7.98 MB/s
setuptools-28. 100% |##################################| Time: 0:00:00 431.23 kB/s
traitlets-4.3. 100% |##################################| Time: 0:00:00 278.86 kB/s
harfbuzz-1.0.6 100% |##################################| Time: 0:00:01   1.75 MB/s
pandas-0.19.1- 100% |##################################| Time: 0:00:03   5.09 MB/s
pickleshare-0. 100% |##################################| Time: 0:00:00   2.67 MB/s
protobuf-3.0.0 100% |##################################| Time: 0:00:01   3.60 MB/s
pygments-2.1.3 100% |##################################| Time: 0:00:01 778.44 kB/s
wheel-0.29.0-p 100% |##################################| Time: 0:00:00 270.63 kB/s
pango-1.40.1-0 100% |##################################| Time: 0:00:01 717.01 kB/s
pip-9.0.1-py27 100% |##################################| Time: 0:00:01 889.25 kB/s
prompt_toolkit 100% |##################################| Time: 0:00:00 406.49 kB/s
ipython-5.1.0- 100% |##################################| Time: 0:00:01 823.29 kB/s
qt-4.8.7-3.tar 100% |##################################| Time: 0:00:03   8.40 MB/s
pyqt-4.11.4-py 100% |##################################| Time: 0:00:02   1.73 MB/s
matplotlib-1.5 100% |##################################| Time: 0:00:02   3.12 MB/s
scikit-image-0 100% |##################################| Time: 0:00:03   8.34 MB/s
caffe-1.0.0rc3 100% |##################################| Time: 0:00:01   1.45 MB/s
Extracting packages ...
[      COMPLETE      ]|#####################################################| 100%
Linking packages ...
[      COMPLETE      ]|#####################################################| 100%
#
# To activate this environment, use:
# > source activate CAFFE
#
# To deactivate this environment, use:
# > source deactivate CAFFE
#

olivia@Love11 ~/Downloads $ source activate CAFFE

(CAFFE) olivia@Love11 ~/GitHub/caffe-video_triplet/python $ python -c 'import caffe; print(caffe.__version__)'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "caffe/__init__.py", line 1, in <module>
    from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver
  File "caffe/pycaffe.py", line 13, in <module>
    from ._caffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, \
ImportError: No module named _caffe

Install issues

Thanks you for providing this awesome recipe. I'm having some issues with using the install and perhaps this is a good place to ask. (if not apologies) I've installed caffe as follows:

  • conda create -n caffe
  • conda install python=3.5
  • conda install -c conda-forge caffe
  • conda install caffe
  • When I open python and run ">>>import caffe * " I get the following error.

ImportError: libprotobuf.so.12: cannot open shared object file: No such file or directory

I see /home/brad/anaconda3/envs/caffe/lib/libprotobuf.so.13 but not .so.12. Unfortunately I dont know to get the .12 version. Can you suggest a fix?

Thanks

Undefined symbol in convert_imageset

I have a problem with the command line tools provided by caffe on Ubuntu 16.04
Doing

$ conda create -n test python=3.6
$ source activate test
$ conda install caffe
$ convert_imageset

I get
convert_imageset: symbol lookup error: convert_imageset: undefined symbol: _ZN6google14FlagRegistererC1EPKcS2_S2_S2_PvS3_
The output of $ c++filt _ZN6google14FlagRegistererC1EPKcS2_S2_S2_PvS3_ is
google::FlagRegisterer::FlagRegisterer(char const*, char const*, char const*, char const*, void*, void*)
The respective binary of convert_imageset is for me in $CONDA_ROOT/envs/test/bin

Since many tutorials or training instructions for caffe nets rely on these tools it would be great if they would work out of the box with the conda install.

Broken packages

Hi @conda-forge/core,

Please move caffe packages with build number 203 and 204 as broken.
Please see
#54
and
#52

Archive this feedstock

To my knowledge this has been folded into pytorch. Is it time to archive this feedstock?

BLAS selection fixes

We now support BLAS selection in conda-forge so we should update w.r.t. to that.

python 3 builds

Is this just to avoid recompiling the library three times? #31, #33, and me earlier today all inadvertently installed caffe from defaults and thought it was the conda-forge version.

binary is linked to opencv 3.3

Hi,
I noticed that libcaffe.so is linked to opencv 3.3. However the requirement in the .yaml is broad 3.*. Thus, a fresh install gave me opencv 3.4.
I fixed it by downgrading opencv manually.
Thanks for providing this!
Victor

GPU branch

While we may not be able to handle the build of Caffe with CUDA and cuDNN support, I would like us to coordinate a way to have a branch that one is able to build offline for one's own use for these feature. Am opening this issue so we can discuss this.

cc @sdvillal

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.