Coder Social home page Coder Social logo

Comments (15)

Cysu avatar Cysu commented on May 14, 2024

Did you use cudnn-v5.1 for cuda-8.0 (note that there are versions for cuda-7.5 and cuda-8.0)? Did the following command link to the correct library?

ldd caffe/build/install/bin/caffe | grep cudnn

from person_search.

dichen-cd avatar dichen-cd commented on May 14, 2024

Hi Tong,

Yes, I used cudnn-5.1 for cuda 8.0.

if built with cudnn, caffe links to:

libcudnn.so.5 => /usr/local/cuda/lib64/libcudnn.so.5 (0x00007fa1c979a000)

else the ldd command returns nothing related to cudnn.

ps: the cmake command was cmake .. -DUSE_MPI=ON -DCUDNN_INCLUDE=/usr/local/cuda/include/ -DCUDNN_LIBRARY=/usr/local/cuda/lib64/libcudnn.so

from person_search.

Cysu avatar Cysu commented on May 14, 2024

Could you please check the output of

ls -al /usr/local/cuda/lib64/libcudnn*

And what's the GPU's memory size?

from person_search.

dichen-cd avatar dichen-cd commented on May 14, 2024

The output is

-rwxr-xr-x 1 root root 84163560 Feb 25 02:47 /usr/local/cuda/lib64/libcudnn.so
-rwxr-xr-x 1 root root 84163560 Feb 25 02:47 /usr/local/cuda/lib64/libcudnn.so.5
-rwxr-xr-x 1 root root 84163560 Feb 25 02:47 /usr/local/cuda/lib64/libcudnn.so.5.1.10
-rw-r--r-- 1 root root 70364814 Feb 25 02:47 /usr/local/cuda/lib64/libcudnn_static.a

The GPU memory size is 11439MiB(Tesla K80).

from person_search.

Cysu avatar Cysu commented on May 14, 2024

I suspect that our cmake config for CUDA is outdated and your GPU arch is currently not supported.
Could you please replace caffe/cmake/Cuda.cmake by the config from the official repo, remove the caffe/build directory, and recompile caffe from scratch?

from person_search.

dichen-cd avatar dichen-cd commented on May 14, 2024

Hi, I suppose this isn't working. Using the official config would cause

make: *** No targets specified and no makefile found.  Stop.

when executing make.

I tried replace the whole caffe/cmake/ folder with the official one, but the error is same.

Yet the official repo can be compiled and runs well.

from person_search.

njustzjw avatar njustzjw commented on May 14, 2024

Hey,could you tell me how to get the dataset the author provided in README?Thank you very much!

from person_search.

Cysu avatar Cysu commented on May 14, 2024

@DeanChan is it able to run with GPU now?

from person_search.

dichen-cd avatar dichen-cd commented on May 14, 2024

Hi @Cysu Forgot this issue being opening here, sorry.

It is able to run on a Tesla K80 GPU now, without docker, which was where I compile the code. I still don't know why the issue happened, given the fact that the official caffe runs pretty well inside docker.

Anyway, I'll close this issue now. Many thanks for your help!

from person_search.

dichen-cd avatar dichen-cd commented on May 14, 2024

@njustzjw You can request the dataset via e-mail:
Request the dataset from sli [at] ee.cuhk.edu.hk or xiaotong [at] ee.cuhk.edu.hk (academic only)

from person_search.

njustzjw avatar njustzjw commented on May 14, 2024

from person_search.

dichen-cd avatar dichen-cd commented on May 14, 2024

@njustzjw Didn't do that. Just trying to run the demo.

from person_search.

njustzjw avatar njustzjw commented on May 14, 2024

from person_search.

dichen-cd avatar dichen-cd commented on May 14, 2024

@njustzjw Nope.

from person_search.

Cysu avatar Cysu commented on May 14, 2024

@DeanChan good to know that! Some library dependency might be different between ours and the official caffe. Thanks very much for pointing out this docker issue. I will check about it later when available.

from person_search.

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.