Coder Social home page Coder Social logo

houkai / caffe Goto Github PK

View Code? Open in Web Editor NEW
14.0 14.0 14.0 8.17 MB

add CTCLoss, CTCDecoder, Transpose and ProposalLayer (CPU and GPU version)

License: Other

CMake 2.65% Makefile 0.68% Shell 0.33% C++ 79.67% Cuda 6.19% MATLAB 0.86% M 0.01% Python 7.96% Protocol Buffer 1.67%

caffe's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

caffe's Issues

some questions about ctc_decoder

I'm sorry to bother you, can you give some usages (for example, the net prototxt file ) about CTC? I found that you changed the decode portion, is there any problems in the previous edition ? Thank you for any suggestion.

CTCGreedyDecoder is undefined; CTCLossLayer-Test fails

CTCGreedyDecoderLayer is used in the test units in test_ctc_decoder_layer.cpp, however it's no longer defined, because it was removed from the ctc_decoder_layer.cpp file. It still can be found in the ctc_decoder_layer.cpp.old.

Because of that, my "make test" fails.

I renamed it to CTCDecoderLayer. "make test" works now.

However my "make runtests" fails with the message

CTCLossLayerTest/1.TestGradient
src/caffe/test/test_ctc_loss_layer.cpp:569: Failure
Expected: (abs((-loss) - (loss_log_prob_0 + loss_log_prob_1) / 2)) <= (0.000001), actual: 2.15804e-06 vs 1e-06
*** Aborted at 1559401369 (unix time) try "date -d @1559401369" if you are using GNU date ***
PC: @ 0x558691d5f6fa (unknown)
*** SIGSEGV (@0x0) received by PID 29238 (TID 0x7f341fff7200) from PID 0; stack trace: ***
@ 0x7f341cf09890 (unknown)
@ 0x558691d5f6fa (unknown)
@ 0x558691ec5a9a (unknown)
@ 0x558691ebed0a (unknown)
@ 0x558691ebedec (unknown)
@ 0x558691ebef25 (unknown)
@ 0x558691ebf3e0 (unknown)
@ 0x558691ebf527 (unknown)
@ 0x558691be3522 (unknown)
@ 0x7f341cb27b97 __libc_start_main
@ 0x558691bea8fa (unknown)
Segmentation fault (core dumped)
Makefile:526: recipe for target 'runtest' failed
make: *** [runtest] Error 139

Should I worry about it? It seems it's only a precision thing.
(Building for Python3, OpenCV 3.6, not CUDA)

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.