Deep-Feature-Flow icon indicating copy to clipboard operation
Deep-Feature-Flow copied to clipboard

install problem

Open Kinpzz opened this issue 6 years ago • 9 comments

I follow the steps of README, however it output this after executing make

Makefile:35: mshadow/make/mshadow.mk: No such file or directory  
Makefile:36: /media/SecondDisk/yanpengxiang/incubator-mxnet/dmlc-core/make/dmlc.mk: No such file or directory                                                                                       
Makefile:131: /media/SecondDisk/yanpengxiang/incubator-mxnet/ps-lite/make/ps.mk: No such file or 
directory                                                                                          
make: *** No rule to make target `/media/SecondDisk/yanpengxiang/incubator-mxnet/ps-lite/make/ps.mk
Stop. 

Kinpzz avatar Apr 11 '18 04:04 Kinpzz

Same issue here, any solution?

Blurjp avatar Jun 06 '18 17:06 Blurjp

@Blurjp Actually, I have try the newest version of mxnet. The DFF project can compiled on it successfully.

Kinpzz avatar Jun 12 '18 06:06 Kinpzz

Thanks @Kinpzz , i will try it.

Blurjp avatar Jun 12 '18 14:06 Blurjp

Same issue. So you install mxnet1.2.0 and which method did you choose(from source or pip)? @Kinpzz @Blurjp

samanthawyf avatar Jul 10 '18 12:07 samanthawyf

@samanthawyf from source, because we need to compile $(DFF_ROOT)/dff_rfcn/operator_cxx/* following the installation step.

Kinpzz avatar Jul 16 '18 03:07 Kinpzz

@Kinpzz follow the steps of readme get the same issue ,i don't know how can i get newest version from source and complie it ? Could you give me concrete steps?

chuck0518 avatar Sep 05 '18 10:09 chuck0518

@chuck0518 in step 3.1, I do not execute git checkout 62ecb60 to swtich to the old version 62ecb60 of mxnet

Kinpzz avatar Sep 09 '18 08:09 Kinpzz

Summary of my procedure

install this project, run sh ./init.sh

install mxnet:

  1. clone mxnet 1.2.0 Don't use the branch in the README!!! and Copy operators in $(DFF_ROOT)/dff_rfcn/operator_cxx or $(DFF_ROOT)/rfcn/operator_cxx to $(YOUR_MXNET_FOLDER)/src/operator/contrib
  2. modify make/config.mk file
USE_OPENCV = 0 (optional)
USE_CUDA = 1
USE_CUDA_PATH = /your cuda path(cuda 8.0 is ok, 9.0 will fail)
USE_CUDNN = 1
  1. libcblas If CentOs, soft link libcblas with libsatlas
  2. make same with the readme file

wikiwen avatar Sep 11 '19 10:09 wikiwen

I got an error like this:

In file included from /usr/local/cuda/include/cuda_runtime.h:115:0,
                 from <command-line>:0:
/usr/local/cuda/include/crt/common_functions.h:74:24: error: token ""__CUDACC_VER__ is no longer supported.  Use __CUDACC_VER_MAJOR__, __CUDACC_VER_MINOR__, and __CUDACC_VER_BUILD__ instead."" is not valid in preprocessor expressions
 #define __CUDACC_VER__ "__CUDACC_VER__ is no longer supported.  Use __CUDACC_VER_MAJOR__, __CUDACC_VER_MINOR__, and __CUDACC_VER_BUILD__ instead."
                        ^
/usr/local/cuda/include/crt/common_functions.h:74:24: note: in definition of macro ‘__CUDACC_VER__’
 #define __CUDACC_VER__ "__CUDACC_VER__ is no longer supported.  Use __CUDACC_VER_MAJOR__, __CUDACC_VER_MINOR__, and __CUDACC_VER_BUILD__ instead."
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/cuda/include/cuda_runtime.h:115:0,
                 from <command-line>:0:
/usr/local/cuda/include/crt/common_functions.h:74:24: error: token ""__CUDACC_VER__ is no longer supported.  Use __CUDACC_VER_MAJOR__, __CUDACC_VER_MINOR__, and __CUDACC_VER_BUILD__ instead."" is not valid in preprocessor expressions
 #define __CUDACC_VER__ "__CUDACC_VER__ is no longer supported.  Use __CUDACC_VER_MAJOR__, __CUDACC_VER_MINOR__, and __CUDACC_VER_BUILD__ instead."
                        ^
/usr/local/cuda/include/crt/common_functions.h:74:24: note: in definition of macro ‘__CUDACC_VER__’
 #define __CUDACC_VER__ "__CUDACC_VER__ is no longer supported.  Use __CUDACC_VER_MAJOR__, __CUDACC_VER_MINOR__, and __CUDACC_VER_BUILD__ instead."
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Makefile:211: recipe for target 'build/src/operator/tensor/indexing_op_gpu.o' failed
make: *** [build/src/operator/tensor/indexing_op_gpu.o] Error 1
make: *** 正在等待未完成的任务....
Makefile:211: recipe for target 'build/src/operator/tensor/ordering_op_gpu.o' failed

Do you have any idea?

Erik-Y avatar Jul 19 '20 09:07 Erik-Y