Git Product home page Git Product logo

Comments (2)

saadehmd avatar saadehmd commented on July 30, 2024

I also tried rebuilding it with cmake. But cmake doesn't even get past the ' make all ' step
and throws following errors

/home/ahmad3/affordance-net/caffe-affordance-net/include/caffe/util/cudnn.hpp(107): error: too few arguments in function call

/home/ahmad3/affordance-net/caffe-affordance-net/include/caffe/util/cudnn.hpp(126): error: argument of type "int" is incompatible with parameter of type "cudnnNanPropagation_t"

/home/ahmad3/affordance-net/caffe-affordance-net/include/caffe/util/cudnn.hpp(126): error: too few arguments in function call

3 errors detected in the compilation of "/tmp/tmpxft_00000714_00000000-4_bias_layer.cpp4.ii".
CMake Error at cuda_compile_generated_bias_layer.cu.o.cmake:266 (message):
Error generating file
/home/ahmad3/affordance-net/caffe-affordance-net/build/src/caffe/CMakeFiles/cuda_compile.dir/layers/./cuda_compile_generated_bias_layer.cu.o

This was my build configuration with cmake
i'm using cuda-10.0 and cudNN 7.6.5
Don't know if both of these are compatible for this project or not.

--
-- ******************* Caffe Configuration Summary *******************
-- General:
-- Version : 1.0.0-rc3
-- Git : 4441bb3-dirty
-- System : Linux
-- C++ compiler : /usr/bin/c++
-- Release CXX flags : -O3 -DNDEBUG -fPIC -Wall -Wno-sign-compare -Wno-uninitialized
-- Debug CXX flags : -g -fPIC -Wall -Wno-sign-compare -Wno-uninitialized
-- Build type : Release

-- BUILD_SHARED_LIBS : ON
-- BUILD_python : ON
-- BUILD_matlab : OFF
-- BUILD_docs : ON
-- CPU_ONLY : OFF
-- USE_OPENCV : ON
-- USE_LEVELDB : ON
-- USE_LMDB : ON
-- ALLOW_LMDB_NOLOCK : OFF

-- Dependencies:
-- BLAS : Yes (Atlas)
-- Boost : Yes (ver. 1.58)
-- glog : Yes
-- gflags : Yes
-- protobuf : Yes (ver. 2.6.1)
-- lmdb : Yes (ver. 0.9.70)
-- LevelDB : Yes (ver. 1.18)
-- Snappy : Yes (ver. 1.1.3)
-- OpenCV : Yes (ver. 3.4.9)
-- CUDA : Yes (ver. 10.0)

-- NVIDIA CUDA:
-- Target GPU(s) : Auto
-- GPU arch(s) : sm_75
-- cuDNN : Yes (ver. 7.6.5)

-- Python:
-- Interpreter : /usr/bin/python2.7 (ver. 2.7.12)
-- Libraries : /usr/lib/x86_64-linux-gnu/libpython2.7.so (ver 2.7.12)
-- NumPy : /home/ahmad3/.local/lib/python2.7/site-packages/numpy/core/include (ver 1.16.6)

-- Documentaion:
-- Doxygen : No
-- config_file :

-- Install:
-- Install path : /home/ahmad3/affordance-net/caffe-affordance-net/build/install

from affordance-net.

saadehmd avatar saadehmd commented on July 30, 2024

So, i finally realized, i hadn't uncommented the line : -

Uncomment to support layers written in Python (will link against Python libs)

WITH_PYTHON_LAYER := 1

in makefile.config

probably coz they didn't mentioned it at all on the official caffe installation instructions page and this version of caffe is of course using a custom : Python type layer.

So i am closing this.

from affordance-net.

Related Issues (20)

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.