Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/marian.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHieu Hoang <hieuhoang@gmail.com>2017-04-20 16:53:40 +0300
committerHieu Hoang <hieuhoang@gmail.com>2017-04-20 16:53:40 +0300
commit13a79f283f7a657d7388020484263a8940176a1e (patch)
treeb197071b635d708d7e9b56954e1c7f982f07e7dd /src/amun/cpu/decoder/best_hyps.h
parent8350eb02db2bba651263717cb8259a83bf210e3b (diff)
debug
Diffstat (limited to 'src/amun/cpu/decoder/best_hyps.h')
-rw-r--r--src/amun/cpu/decoder/best_hyps.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/amun/cpu/decoder/best_hyps.h b/src/amun/cpu/decoder/best_hyps.h
index acc768e4..e378ef3c 100644
--- a/src/amun/cpu/decoder/best_hyps.h
+++ b/src/amun/cpu/decoder/best_hyps.h
@@ -70,8 +70,8 @@ public:
blaze::column(Probs, UNK_ID) = std::numeric_limits<float>::lowest();
}
- std::cerr << "2Probs=" << Probs.Debug(1) << std::endl;
- std::cerr << "beamSizes=" << amunmt::Debug(beamSizes, 2) << " " << std::endl;
+ //std::cerr << "2Probs=" << Probs.Debug(1) << std::endl;
+ //std::cerr << "beamSizes=" << amunmt::Debug(beamSizes, 2) << " " << std::endl;
std::nth_element(keys.begin(), keys.begin() + beamSize, keys.end(),
ProbCompare(Probs.data()));
@@ -81,8 +81,8 @@ public:
bestCosts[i] = Probs.data()[keys[i]];
}
- std::cerr << "bestCosts=" << amunmt::Debug(bestCosts, 2) << " " << std::endl;
- std::cerr << "bestKeys=" << amunmt::Debug(bestKeys, 2) << std::endl;
+ //std::cerr << "bestCosts=" << amunmt::Debug(bestCosts, 2) << " " << std::endl;
+ //std::cerr << "bestKeys=" << amunmt::Debug(bestKeys, 2) << std::endl;
std::vector<std::vector<float>> breakDowns;
bool doBreakdown = god.Get<bool>("n-best");