mirror of
https://github.com/marian-nmt/marian.git
synced 2024-12-11 09:54:22 +03:00
removed cudaDevicesynchronize
This commit is contained in:
parent
890e3fe066
commit
349a0266cf
@ -172,7 +172,7 @@ int main(int argc, char* argv[]) {
|
||||
NBestList nbl = history.NBest(nbest);
|
||||
for(size_t i = 0; i < nbl.size(); ++i) {
|
||||
auto& r = nbl[i];
|
||||
std::cout << lineCounter << " ||| " << (bpe ? bpe.unsplit(trgVocab(r.first)) : trgVocab(r.first, false)) << " |||";
|
||||
std::cout << lineCounter << " ||| " << (bpe ? bpe.unsplit(trgVocab(r.first)) : trgVocab(r.first)) << " |||";
|
||||
for(size_t j = 0; j < r.second->GetCostBreakdown().size(); ++j) {
|
||||
std::cout << " F" << j << "=" << r.second->GetCostBreakdown()[j];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user