OCR returns slightly different results on different machines
4 vues (au cours des 30 derniers jours)
With exactly the same code and the same input image.
Both results are accetable but they are slightly different. What it could be?
The only difference between the two system I can think of is one machine has an GPU and the other does not. Could GPU be a factor?
Deep le 9 Juil 2023
GPUs and CPUs can handle floating-point operations differently due to their distinct hardware architectures, potentially leading to minor discrepancies in results. I've seen that variations in CUDA versions can also contribute to this. Furthermore, the precision of computation (like float-16, float-32 or mixed precision) can affect the final output. Minor discrepancies can stack up in tasks involving multiple processing layers.
Plus de réponses (1)
Joss Knight le 13 Juil 2023
This is expected for any highly optimized code like this. Even for two Intel machines, the core count will affect how operations are parallelized.
Try calling maxNumCompThreads(1) and see if that fixes it.