Skip to content

CTCGreedyDecoder is undefined; CTCLossLayer-Test fails #2

@AntonioNoack

Description

@AntonioNoack

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions