Code Monkey home page Code Monkey logo

Comments (3)

dutran avatar dutran commented on July 22, 2024 1

Hi Nigel,

Since C3D uses the older branch of caffe, when the Makefile.config does not have such a flag. If you don't have GPU, you can still use C3D (assume to be slow).

  • Compile as normal without modifying Makefile.config
  • For feature extraction, you specific GPU ID = -1. For example, in the following command line:

GLOG_logtosterr=1 ../../build/tools/extract_image_features.bin prototxt/c3d_sport1m_feature_extractor_frm.prototxt conv3d_deepnetA_sport1m_iter_1900000 0 50 1 prototxt/output_list_prefix.txt fc7-1 fc6-1 prob

You modify it to:

GLOG_logtosterr=1 ../../build/tools/extract_image_features.bin prototxt/c3d_sport1m_feature_extractor_frm.prototxt conv3d_deepnetA_sport1m_iter_1900000 -1 50 1 prototxt/output_list_prefix.txt fc7-1 fc6-1 prob

For training/finetuning, change option in your solver file

solver_mode: GPU
to
solver_mode: CPU

Hope this helps.

from c3d.

firmamentqj avatar firmamentqj commented on July 22, 2024 1

@dutran Thank you very much for your suggestions.

I have successfully built the code and run the examples in your 'C3D User Guide'.

Great work! Cheers!

Nigel

from c3d.

dutran avatar dutran commented on July 22, 2024

I'm glad to hear it works for you.
Cheers,
Du

from c3d.

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.