On Tue, 30 Jan 2024, 17:13 Ilyas, <ilyas.oudghi...@gmail.com> wrote:

>
>
> The output I'm wondering about is :
> At iteration 1/600/600, Mean rms=-2147483.6%,
>

I dont know why or what is causing this; I just notice the value is quite
remarkable as it looks like INT32_MIN got fed into some
promillage/percentage calculation for the rms value there.

(From Google for those who dont recognize the 2^31 value right away:


INT_MIN is a macro that specifies that an integer variable cannot store any
value below this limit. It represents the minimum value or the upper limit
of the integer data type. The value of INT_MIN is: INT_MIN = –2147483648
(for 32-bit Integers) INT_MIN = –9,223,372,036,854,775,808 (for 64-bit
Integers)


The rms value is clearly this value divided by 1000. Without having had a
look as the source code, I'd say that might happen if some code path
produced and error or clipped a larger negative value hard to the edge
value for int32_t.

Someone will need to run this in a debugger to find the culprit. If you can
do this, then that would help trace back the source of this weirdness.

Sorry I can't be of much more help. The 2^31 value (or rather the 7most
significant digits thereof jumped in my face.

Smells like a potential bug somewhere...


Regards,
Ger



>

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tesseract-ocr+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/CAFP60fqh_x3ua%3DpG_AApATOnbccc-%2B4Kokcvw%2Bmkbv6SkFV8GQ%40mail.gmail.com.

Reply via email to