when I put it somewhere else:

shavkat95@ubuntu:/mnt/tesseract/tessdata$ ls -l 
/mnt/tesseract/tessdata/eng.traineddata
-rw-r--r-- 1 root root 195484 Jan  7 07:35 
/mnt/tesseract/tessdata/eng.traineddata
shavkat95@ubuntu:/mnt/tesseract/tessdata$ cd ..
shavkat95@ubuntu:/mnt/tesseract$ cd ..
shavkat95@ubuntu:/mnt$ ls
no_limit  tesseract  tesstrain  this_our_first_fr_tho
shavkat95@ubuntu:/mnt$ cd tesstrain/
shavkat95@ubuntu:/mnt/tesstrain$ sudo make training RATIO_TRAIN=1.0 
MODEL_NAME=gg_custom_1 DATA_DIR=./data 
GROUND_TRUTH_DIR=./data/gg_custom_1-ground-truth START_MODEL=eng 
TESSDATA=/mnt/tesseract/tessdata MAX_ITERATIONS=500
You are using make version: 4.3
combine_tessdata -u /mnt/tesseract/tessdata/eng.traineddata 
data/eng/gg_custom_1
Failed to read /mnt/tesseract/tessdata/eng.traineddata
make: *** [Makefile:207: data/eng/gg_custom_1.lstm-unicharset] Error 1



(forgot to post this before, sorry)

zdenop schrieb am Mittwoch, 7. Januar 2026 um 08:19:40 UTC+1:

> Hello,
>
> what is output of 
>
> ls -l /usr/Iocal/share/tessdata/eng. traineddata
>
>
> Zdenko
>
>
> ut 6. 1. 2026 o 21:14 Shavkat Sultanov <[email protected]> napĂ­sal(a):
>
>> Hi there,
>>
>>
>> thanks in advance. 
>>
>> this is what happens, when I try running the training script:
>>
>> [image: running_train_script.png]
>> it is apparently failing to read the traineddata-file
>>
>> I downloaded it from here:
>>
>> https://github.com/tesseract-ocr/tessdata_best/blob/main/eng.traineddata
>>
>> my exact command to run it would be:
>>
>> sudo make training RATIO_TRAIN=1.0 MODEL_NAME=gg_custom_1 DATA_DIR=./data 
>> GROUND_TRUTH_DIR=./data/gg_custom_1-ground-truth START_MODEL=eng 
>> TESSDATA=/usr/local/share/tessdata MAX_ITERATIONS=500
>>
>>
>> [image: Screenshot 2026-01-06 185705.png]
>> as you can see from this image, I am using tesseract version 5.5.2
>>
>> my computer is running Ubuntu 24.04.3 but I tried windows before, failed 
>> aswell, but a little further down the process ... .
>> [image: Screenshot 2026-01-06 190626.png]
>>
>> I have no clue why this is happenning. I would really like this to work 
>> though, because I have a particular problem, that is very monotone (easy, 
>> reading numbers off the screen, with the same font), but not being solved 
>> by the original eng.traineddata - model . 
>>
>> Please help! I can provide additional info, if you ask me. 
>>
>> Thanks in advance! again.
>>
>>
>> Kind regards,
>> Shavkat Sultanov
>>
>> -- 
>> 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 [email protected].
>> To view this discussion visit 
>> https://groups.google.com/d/msgid/tesseract-ocr/0756c4e6-e0d1-4250-8764-80cbf9b94fefn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/tesseract-ocr/0756c4e6-e0d1-4250-8764-80cbf9b94fefn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/tesseract-ocr/258f1552-7702-47f9-ae78-48a6962aaa78n%40googlegroups.com.

Reply via email to