mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-19 23:19:07 +08:00
Fix warnings.
This commit is contained in:
parent
968d653f89
commit
f526bf30bb
@ -1238,7 +1238,7 @@ bool LSTMTrainer::ComputeTextTargets(const NetworkIO &outputs,
|
||||
DecodeLabels(truth_labels).c_str(), targets->Width());
|
||||
return false;
|
||||
}
|
||||
size_t i = 0;
|
||||
int i = 0;
|
||||
for (auto truth_label : truth_labels) {
|
||||
targets->SetActivations(i, truth_label, 1.0);
|
||||
++i;
|
||||
|
Loading…
Reference in New Issue
Block a user