Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    I'm trying to understand how to use it, but there are few to no instructions. I want to try out the demo, then replace the demo images with my own test image.
    Can anyone on the channel advise me please?
    Hi Misha. I may be able to help a little. In Github, on the project page there is a button to switch branches. Select one that has a docker Dockerfile in the code, download the zip and extract it to your work folder. Open PowerShell in your work folder and run the Docker command to compile the image. This will be something like: " docker build -t deep-colorization -f Dockerfile . "
    za13
    @za13

    I am using Ubuntu and tried to build Caffe and got a bunch of errors saying this file was generated by an older version of protoc

    After doing some research into it, it seems many people resolved the problem by doing

    conda uninstall libprotobuf

    However, when I tried that, I get this:

    1 reply
    Collecting package metadata (repodata.json): done
    Solving environment: \ 
    Found conflicts! Looking for incompatible packages.
    This can take several minutes.  Press CTRL-C to abort.
    failed                                                                          
    
    UnsatisfiableError: The following specifications were found to be incompatible with each other:
    
    
    
    Package libstdcxx-ng conflicts for:
    python=3.6 -> libstdcxx-ng[version='>=7.2.0|>=7.3.0']
    Package libgcc-ng conflicts for:
    python=3.6 -> libgcc-ng[version='>=7.2.0|>=7.3.0']
    Package xz conflicts for:
    python=3.6 -> xz[version='>=5.2.3,<6.0a0|>=5.2.4,<6.0a0|>=5.2.5,<6.0a0']
    Package libffi conflicts for:
    python=3.6 -> libffi[version='3.2.*|>=3.2.1,<3.3a0|>=3.3,<3.4.0a0']
    Package zlib conflicts for:
    python=3.6 -> zlib[version='>=1.2.11,<1.3.0a0']
    Package ncurses conflicts for:
    python=3.6 -> ncurses[version='6.0.*|>=6.0,<7.0a0|>=6.1,<7.0a0|>=6.2,<7.0a0']
    Package tk conflicts for:
    python=3.6 -> tk[version='8.6.*|>=8.6.7,<8.7.0a0|>=8.6.8,<8.7.0a0']
    Package readline conflicts for:
    python=3.6 -> readline[version='7.*|>=7.0,<8.0a0|>=8.0,<9.0a0']
    Package pip conflicts for:
    python=3.6 -> pip
    Package sqlite conflicts for:
    python=3.6 -> sqlite[version='>=3.20.1,<4.0a0|>=3.22.0,<4.0a0|>=3.23.1,<4.0a0|>=3.24.0,<4.0a0|>=3.25.2,<4.0a0|>=3.26.0,<4.0a0|>=3.29.0,<4.0a0|>=3.30.1,<4.0a0|>=3.31.1,<4.0a0']
    Package openssl conflicts for:
    python=3.6 -> openssl[version='1.0.*|1.0.*,>=1.0.2l,<1.0.3a|>=1.0.2m,<1.0.3a|>=1.0.2n,<1.0.3a|>=1.0.2o,<1.0.3a|>=1.0.2p,<1.0.3a|>=1.1.1a,<1.1.2a|>=1.1.1c,<1.1.2a|>=1.1.1d,<1.1.2a|>=1.1.1e,<1.1.2a|>=1.1.1g,<1.1.2a']
    Package ld_impl_linux-64 conflicts for:
    python=3.6 -> ld_impl_linux-64
    I also tried conda uninstall protobuf and got:
    Collecting package metadata (repodata.json): done
    Solving environment: / 
    Found conflicts! Looking for incompatible packages.
    This can take several minutes.  Press CTRL-C to abort.
    failed                                                                          
    
    UnsatisfiableError: The following specifications were found to be incompatible with each other:
    
    Package tk conflicts for:
    python=3.6 -> tk[version='8.6.*|>=8.6.7,<8.7.0a0|>=8.6.8,<8.7.0a0']
    Package zlib conflicts for:
    python=3.6 -> zlib[version='>=1.2.11,<1.3.0a0']
    Package openssl conflicts for:
    python=3.6 -> openssl[version='1.0.*|1.0.*,>=1.0.2l,<1.0.3a|>=1.0.2m,<1.0.3a|>=1.0.2n,<1.0.3a|>=1.0.2o,<1.0.3a|>=1.0.2p,<1.0.3a|>=1.1.1a,<1.1.2a|>=1.1.1c,<1.1.2a|>=1.1.1d,<1.1.2a|>=1.1.1e,<1.1.2a|>=1.1.1g,<1.1.2a']
    Package ncurses conflicts for:
    python=3.6 -> ncurses[version='6.0.*|>=6.0,<7.0a0|>=6.1,<7.0a0|>=6.2,<7.0a0']
    Package readline conflicts for:
    python=3.6 -> readline[version='7.*|>=7.0,<8.0a0|>=8.0,<9.0a0']
    Package pip conflicts for:
    python=3.6 -> pip
    Package libffi conflicts for:
    python=3.6 -> libffi[version='3.2.*|>=3.2.1,<3.3a0|>=3.3,<3.4.0a0']
    Package xz conflicts for:
    python=3.6 -> xz[version='>=5.2.3,<6.0a0|>=5.2.4,<6.0a0|>=5.2.5,<6.0a0']
    Package ld_impl_linux-64 conflicts for:
    python=3.6 -> ld_impl_linux-64
    Package libgcc-ng conflicts for:
    python=3.6 -> libgcc-ng[version='>=7.2.0|>=7.3.0']
    Package sqlite conflicts for:
    python=3.6 -> sqlite[version='>=3.20.1,<4.0a0|>=3.22.0,<4.0a0|>=3.23.1,<4.0a0|>=3.24.0,<4.0a0|>=3.25.2,<4.0a0|>=3.26.0,<4.0a0|>=3.29.0,<4.0a0|>=3.30.1,<4.0a0|>=3.31.1,<4.0a0']
    Package libstdcxx-ng conflicts for:
    python=3.6 -> libstdcxx-ng[version='>=7.2.0|>=7.3.0']

    when I type protoc --version, it says libprotoc 2.6.1

    can anyone help?

    SriHarsha72
    @SriHarsha72
    i am new to ubuntu i am trying to install caffe v0.9999 i am getting the following error
    1 reply
    can any one help me how to solve this
    i am trying to install matcaffe

    make: /usr/Desktop/MATLAB/bin/mexext: Command not found
    protoc --proto_path=src --cpp_out=.build_release/src src/caffe/proto/caffe.proto

    protoc --proto_path=src --cpp_out=.build_release/src src/caffe/proto/caffe_pretty_print.proto

    g++ .build_release/src/caffe/proto/caffe.pb.cc -pthread -fPIC -DCPU_ONLY -DNDEBUG -O2 -I.build_release/src -I./src -I./include -Wall -Wno-sign-compare -c -o .build_release/src/caffe/proto/caffe.pb.o 2> .build_release/src/caffe/proto/caffe.pb.o.warnings.txt \
    || (cat .build_release/src/caffe/proto/caffe.pb.o.warnings.txt; exit 1)

    g++ .build_release/src/caffe/proto/caffe_pretty_print.pb.cc -pthread -fPIC -DCPU_ONLY -DNDEBUG -O2 -I.build_release/src -I./src -I./include -Wall -Wno-sign-compare -c -o .build_release/src/caffe/proto/caffe_pretty_print.pb.o 2> .build_release/src/caffe/proto/caffe_pretty_print.pb.o.warnings.txt \
    || (cat .build_release/src/caffe/proto/caffe_pretty_print.pb.o.warnings.txt; exit 1)

    g++ src/caffe/layers/euclidean_loss_layer.cpp -pthread -fPIC -DCPU_ONLY -DNDEBUG -O2 -I.build_release/src -I./src -I./include -Wall -Wno-sign-compare -c -o .build_release/src/caffe/layers/euclidean_loss_layer.o 2> .build_release/src/caffe/layers/euclidean_loss_layer.o.warnings.txt \
    || (cat .build_release/src/caffe/layers/euclidean_loss_layer.o.warnings.txt; exit 1)
    In file included from src/caffe/layers/euclidean_loss_layer.cpp:4:0:
    ./include/caffe/util/io.hpp:7:10: fatal error: hdf5.h: No such file or directory

    include "hdf5.h"

          ^~~~~~~~

    compilation terminated.
    Makefile:454: recipe for target '.build_release/src/caffe/layers/euclidean_loss_layer.o' failed
    make: * [.build_release/src/caffe/layers/euclidean_loss_layer.o] Error

    Berkant
    @berkantay
    Hello people I am trying install latest caffe on my jetson tx2 dev board that has jetpack 4.4
    OpenCV version 4.3.0 cuda enabled
    Torch 1.6.0 cuda enabled
    Last framework i need is caffe but I could not find any resource for jetpack 4.4
    mishabeliy15
    @mishabeliy15
    Hello! Could you help me, please? I can't build caffe with opencl for openpose on MacBook pro 16
    [ 36%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/prelu_layer.cpp.o
    8 warnings generated.
    4 warnings generated.
    [ 36%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/recurrent_layer.cpp.o
    [ 36%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/reduction_layer.cpp.o
    1 error generated.
    make[5]: [src/caffe/CMakeFiles/caffe.dir/layers/malis_loss_layer.cpp.o] Error 1
    make[5]:
    Waiting for unfinished jobs....
    6 warnings generated.
    make[4]: [src/caffe/CMakeFiles/caffe.dir/all] Error 2
    make[3]:
    [all] Error 2
    make[2]: [caffe/src/openpose_lib-stamp/openpose_lib-build] Error 2
    make[1]:
    [CMakeFiles/openpose_lib.dir/all] Error 2
    make: * [all] Error 2
    陈训教
    @ChenCVer
    hello everyone
    chandraOloid
    @chandraOloid
    hi all,
    Just a quick info request,
    For softmaxloss, for margin_inner_product_param, how do you get what this value is
    num_output
    say for example
    ######### A-Softmax Loss
    layer {
    name: "fc6"
    type: "MarginInnerProduct"
    bottom: "fc5"
    bottom: "label"
    top: "fc6"
    top: "lambda"
    param {
    lr_mult: 1
    decay_mult: 1
    }
    margin_inner_product_param {
    num_output: 10572
    type: QUADRUPLE
    weight_filler {
    type: "xavier"
    }
    base: 1000
    gamma: 0.12
    power: 1
    lambda_min: 5
    iteration: 0
    }
    }
    layer {
    name: "softmax_loss"
    type: "SoftmaxWithLoss"
    bottom: "fc6"
    bottom: "label"
    top: "softmax_loss"
    }
    how do u decide num_output in second braces
    Sadiqu
    @Sadiqush
    I dont understand why caffe is so unnecessarily complicated to get work. funnny part is it has 34+k upvotes and still documentation is still so vague and poorly written
    brk507
    @brk507:matrix.org
    [m]
    Hello i configured caffe in colab.
    when am import layers by from caffe import layers as L,
    -----> cannot import name 'layers' from 'caffe' (unknown location)
    Could anyone please help
    syam krishnan
    @syam218
    hai all
    can i run cafelib with out glog dependancy
    ?????
    IBNU1
    @IBNU1
    Hi for openpose does anyone know which version of Caffe do I have to Use ?
    Carlos Ferry
    @cfferry
    Hope everyone is fine. I've been working on a non relational database and trying to integrate Caffe. I'd like to know if there's any way we could collaborate.