msracver / Deep-Feature-Flow

Deep Feature Flow for Video Recognition
MIT License
1.3k stars 297 forks source link

install problem #53

Open Kinpzz opened 6 years ago

Kinpzz commented 6 years ago

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. 
Blurjp commented 6 years ago

Same issue here, any solution?

Kinpzz commented 6 years ago

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

Blurjp commented 6 years ago

Thanks @Kinpzz , i will try it.

samanthawyf commented 6 years ago

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

Kinpzz commented 6 years ago

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

chuck0518 commented 6 years ago

@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?

Kinpzz commented 6 years ago

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

wikiwen commented 5 years ago

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
  3. libcblas If CentOs, soft link libcblas with libsatlas
  4. make same with the readme file
Erik-Y commented 4 years ago

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?