About Me

This is Neil Z. SHAO. I’m the CTO of PrometheusCV: http://www.prometh.xyz

We make high quality affordable Hologram Capture System.

GitHub: https://github.com/initialneil

4 thoughts on “About Me

Add yours

  1. Hi Neil,
    I have used your method for building Caffe in VS2013 wtih CUDA 6.5 and OpenCV. I was able to build it successfully for GPUs. But when I tried to build it using CPU_ONLY preprocessor with the same project having all the CUDA files in it, some CUDA files are throwing a compilation errors. So I wanted to know if I need to remove .cu files from the project before compiling for CPU_ONLY mode. I am problems compiling .cu files from the layers section. If they are to be kept as it is and compiled properly, what steps do I need to take to make sure that those files compile properly even in CPU_ONLY mode. A little bit for your experience in this regards will be really appreciated.

    1. Hi. I think if you want to build a CPU only version. In the 2 .props you need to remove the “USE_CUDNN” macro and everything related to CUDA. You need to change the OpenCV library to a CPU version which you can get pre-built ones from “http://sourceforge.net/projects/opencvlibrary/files/opencv-win/” and of course remove all .cu files from the project.

  2. Hello Neil

    In io.cpp.
    I added
    #ifdef _MSC_VER
    #define open _open
    #define close _close
    #endif

    and modified open to _open and close to _close except fclose but still im getting error “open and close Identifiers are not found”

Leave a comment

Create a free website or blog at WordPress.com.

Up ↑

Design a site like this with WordPress.com
Get started