Giter VIP home page Giter VIP logo

Comments (11)

panfengli avatar panfengli commented on August 23, 2024

rcnn_model = rcnn_load_model(rcnn_model_file, use_gpu);
This command goes wrong. It seems like the model used here is different with the model in rcnn_demo

This is the rcnn_model I saw in rcnn_demo
cnn
cache_name
detectors
classes
training_opts
SVs

This is the rcnn_model I saw in deepPed.demo
cnn
cache_name
detectors

from deepped.

spongezhang avatar spongezhang commented on August 23, 2024

It seems that the author put the wrong version of the prototxt file. Caffe v0.999 can only read the old one. The solution is to get an old version of the prototxt file of the AlexNet, delete fc8 layer and change the input dimension to 256. You can find all the information from the prototxt file provided by the author.

from deepped.

SuperLee0 avatar SuperLee0 commented on August 23, 2024

@spongezhang I use caffe-rc2, and get the same problem, is it the same reason causes? or how can i do to solve it. thanks

from deepped.

spongezhang avatar spongezhang commented on August 23, 2024

@SuperLee0 I'm not very familar with the rc2 version. The easiest way to check this is to check the model files in $CAFFE_ROOT/models/bvlc_alexnet directory. If the model file is the old version, you should try my solution. I think it should work.

from deepped.

cstsdf avatar cstsdf commented on August 23, 2024

I have the same problem. Is anyone has the solution?

from deepped.

spongezhang avatar spongezhang commented on August 23, 2024

@SuperLee0 @cstsdf see #3 . I have added the workable model file.

from deepped.

rectoyon avatar rectoyon commented on August 23, 2024

@spongezhang I get the same error complaining about the text format at the beginning of this chain with the model committed to the master branch. Is your model different from what is committed to the master branch?

from deepped.

spongezhang avatar spongezhang commented on August 23, 2024

@rectoyon The model is the same. The format of the model files are different. You should make it working using my prototxt file which based on the old caffe version.

from deepped.

rectoyon avatar rectoyon commented on August 23, 2024

@spongezhang thanks. I had to use the same model in the rcnn/model-defs directory as well as the DeepPed directory then it worked.

from deepped.

HarshaVardhanP avatar HarshaVardhanP commented on August 23, 2024

@rectoyon @spongezhang

Had tough time to make caffe.v.0.999 working.

Finally, RCNN Demo is working on my machine on GPU (2GB 960M).
Thanks for your comments. I changed files as you suggested to make DeepPed work. But not able to run it using GPU (insufficient memory error).

Currently working on CPU mode. Thanks

GPU Error:
I0913 17:58:07.559538 29365 net.cpp:174] Network initialization done.
I0913 17:58:07.559542 29365 net.cpp:175] Memory required for Data 1446243328
F0913 17:58:21.882158 29365 syncedmem.cpp:47] Check failed: error == cudaSuccess (2 vs. 0) out of memory
*** Check failure stack trace: ***
Killed

from deepped.

DenisTome avatar DenisTome commented on August 23, 2024

If you don't have enough memory you can always reduce the batch size. It's possible to change this parameter in the prototxt file which contains the definition of the architecture.

from deepped.

Related Issues (4)

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.