apache / mxnet

Lightweight, Portable, Flexible Distributed/Mobile Deep Learning with Dynamic, Mutation-aware Dataflow Dep Scheduler; for Python, R, Julia, Scala, Go, Javascript and more
https://mxnet.apache.org
Apache License 2.0
20.76k stars 6.8k forks source link

"mxnet::op::ConvolutionParam::ConvolutionParam" matches the argument list #11854

Open jacky4323 opened 6 years ago

jacky4323 commented 6 years ago

I have some customize layers,and these 7 months, I didn't update mxnet pakage,for some reson I update and build from source using cmake , and there are some errors below, maybe some change of mxnet::op::ConvolutionParam::ConvolutionParam , how to modified it ?

part of code image

build from source using cmake error

image

haojin2 commented 6 years ago

Can you share your system info?

haojin2 commented 6 years ago

And are you just following the instructions here: https://mxnet.incubator.apache.org/install/index.html?platform=Linux&language=Python&processor=GPU ?

jacky4323 commented 6 years ago

Hi,

oregion verson I had 1.0.0 and link [https://github.com/apache/incubator-mxnet/releases/tag/1.0.0]

  1. git clone --recursive https://github.com/apache/incubator-mxnet.git
  2. cd $mxnet-directory
  3. add directory which has my own custom source *cc inl.h cu which include cudnn_algoreg-inl.h(I also found that these operator originally place in as of 1.1.0 many operators have been moved from MXNET_ROOT/src/operator to MXNET_ROOT/src/operator/nn for example )
  4. mkdir build/Release & cd build/Release
  5. cmake ../../
  6. make -j8

thanks for any kind of suggestion.

cmake log

-- CMAKE_SYSTEM_NAME Linux -- CMake version '3.5.1' using generator 'Unix Makefiles' -- download mklml -- CMAKE_BUILD_TYPE is unset, defaulting to Release -- Detecting Intel(R) MKL: trying mklml_intel -- Intel(R) MKL: include /home/jacky4323/BMXNet_update_Test/incubator-mxnet/build/Release/mklml/mklml_lnx_2018.0.3.20180406/include -- Intel(R) MKL: lib /home/jacky4323/BMXNet_update_Test/incubator-mxnet/build/Release/mklml/mklml_lnx_2018.0.3.20180406/lib/libmklml_intel.so -- Intel(R) MKL: OpenMP lib /home/jacky4323/BMXNet_update_Test/incubator-mxnet/build/Release/mklml/mklml_lnx_2018.0.3.20180406/lib/libiomp5.so -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- VTune profiling environment is unset -- Could NOT find MKL (missing: MKL_INCLUDE_DIR MKLML_GNU_LIBRARY MKLDNN_LIBRARY) -- Found OpenBLAS libraries: /usr/lib/libopenblas.so -- Found OpenBLAS include: /usr/include -- CUDA detected: 8.0 -- Found cuDNN (include: /usr/local/cuda-8.0/include, library: /usr/local/cuda-8.0/lib64/libcudnn.so) -- Running GPU architecture autodetection -- Found CUDA arch 6.1 6.1 6.1 -- Added CUDA NVCC flags for: sm_61 -- Could NOT find Gperftools (missing: GPERFTOOLS_LIBRARIES GPERFTOOLS_INCLUDE_DIR) -- Could NOT find Jemalloc (missing: JEMALLOC_LIBRARY JEMALLOC_INCLUDE_DIR) -- OpenCV_LIBS=opencv_core;opencv_highgui;opencv_imgproc;opencv_imgcodecs -- OpenCV 3.3.1 found (/usr/local/share/OpenCV) -- LIBOMP: Operating System -- Linux -- LIBOMP: Target Architecture -- x86_64 -- LIBOMP: Build Type -- Release -- LIBOMP: OpenMP Version -- 50 -- LIBOMP: Library Kind -- SHARED -- LIBOMP: Library Type -- normal -- LIBOMP: Fortran Modules -- FALSE -- LIBOMP: Build -- 20140926 -- LIBOMP: Use Stats-gathering -- FALSE -- LIBOMP: Use Debugger-support -- FALSE -- LIBOMP: Use ITT notify -- TRUE -- LIBOMP: Use OMPT-support -- FALSE -- LIBOMP: Use Adaptive locks -- TRUE -- LIBOMP: Use quad precision -- TRUE -- LIBOMP: Use TSAN-support -- FALSE -- LIBOMP: Use Hwloc library -- FALSE -- LIBOMP: Cannot find llvm-lit. -- LIBOMP: Please put llvm-lit in your PATH, set LIBOMP_LLVM_LIT_EXECUTABLE to its full path or point OPENMP_LLVM_TOOLS_DIR to its directory CMake Warning at 3rdparty/openmp/runtime/cmake/LibompUtils.cmake:21 (message): LIBOMP: The check-libomp target will not be available! Call Stack (most recent call first): 3rdparty/openmp/runtime/test/CMakeLists.txt:62 (libomp_warning_say)

USE LAPACK ON -- Could NOT find Jemalloc (missing: JEMALLOC_LIBRARY JEMALLOC_INCLUDE_DIR) -- Found cuDNN (include: /usr/local/cuda-8.0/include, library: /usr/local/cuda-8.0/lib64/libcudnn.so) -- enabling popcnt... -- using uint64_t as container for binarized values -- Configuring done -- Generating done -- Build files have been written to: /home/jacky4323/BMXNet_update_Test/incubator-mxnet/build/Release

make error image

haojin2 commented 6 years ago

@jacky4323 Just want to confirm, did you not have problem in 1.0.0 and now having the problem when you switch to the latest master?

jacky4323 commented 6 years ago

@haojin2 ,yes

for more clearly,

  1. use cmake and added 1 module FindSSE.cmake which is missing in latest master(attach file is a camkelist file I have modified)

  2. I added some operation in src/operator/mshadow_op.h, some code shows below. it does not affect other operation

    struct sign_grad_quantized { template MSHADOW_XINLINE static DType Map(DType a) { return DType(fabsf(float(a)) <= DType(0.5f) ? DType(1.0f) : -DType(1.0f)); } };

  3. some operator originally place in as of 1.0.0 many operators have been moved from MXNET_ROOT/src/operator to MXNET_ROOT/src/operator/nn for example ,so i replace include path original #include "../../src/operator/cudnn_algoreg-inl.h" with latestmaster #include "../../src/operator/nn/cudnn/cudnn_algoreg-inl.h"

thanks!!

1.0.0 cmakelist original_CMakeLists.txt

latestmaster cmakelist
latestmaster_CMakeLists.txt

zachgk commented 5 years ago

@mxnet-label-bot update [Build]

This issue has not been updated in 90 days and I want to follow up. Do you still have this issue?