houkai / caffe Goto Github PK
View Code? Open in Web Editor NEWadd CTCLoss, CTCDecoder, Transpose and ProposalLayer (CPU and GPU version)
License: Other
add CTCLoss, CTCDecoder, Transpose and ProposalLayer (CPU and GPU version)
License: Other
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.
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)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.