Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

I am getting this error while using the training command #6

Open
Sairahul07-25 opened this issue Nov 22, 2023 · 0 comments
Open

I am getting this error while using the training command #6

Sairahul07-25 opened this issue Nov 22, 2023 · 0 comments

Comments

@Sairahul07-25
Copy link

chinnu@SaiRahul2507:~/tesseract_tutorial/tesstrain$ TESSDATA_PREFIX=../tesseract/tessdata make training MODEL_NAME=Y14.5M START_MODEL=eng TESSDATA=../tesseract/tessdata MAX_ITERATION=2000
You are using make version: 4.3
if [ "" = "Windows_NT" ]; then
dos2unix "data/Y14.5M/Y14.5M.numbers";
dos2unix "data/Y14.5M/Y14.5M.punc";
dos2unix "data/Y14.5M/Y14.5M.wordlist";
dos2unix "data/langdata/Y14.5M/Y14.5M.config";
fi
combine_lang_model
--input_unicharset data/Y14.5M/unicharset
--script_dir data/langdata
--numbers data/Y14.5M/Y14.5M.numbers
--puncs data/Y14.5M/Y14.5M.punc
--words data/Y14.5M/Y14.5M.wordlist
--output_dir data

--lang Y14.5M
Failed to read data from: data/Y14.5M/Y14.5M.wordlist
Failed to read data from: data/Y14.5M/Y14.5M.punc
Failed to read data from: data/Y14.5M/Y14.5M.numbers
Loaded unicharset of size 112 from file data/Y14.5M/unicharset
Setting unichar properties
Other case É of é is not in unicharset
Setting script properties
Failed to load script unicharset from:data/langdata/Latin.unicharset
Warning: properties incomplete for index 3 = C
Warning: properties incomplete for index 4 = H
Warning: properties incomplete for index 5 = E
Warning: properties incomplete for index 6 = S
Warning: properties incomplete for index 7 = -
Warning: properties incomplete for index 8 = R
Warning: properties incomplete for index 9 = I
Warning: properties incomplete for index 10 = K
Warning: properties incomplete for index 11 = N
Warning: properties incomplete for index 12 = G
Warning: properties incomplete for index 13 = B
Warning: properties incomplete for index 14 = 8
Warning: properties incomplete for index 15 = 5
Warning: properties incomplete for index 16 = F
Warning: properties incomplete for index 17 = ,
Warning: properties incomplete for index 18 = (
Warning: properties incomplete for index 19 = /
Warning: properties incomplete for index 20 = L
Warning: properties incomplete for index 21 = T
Warning: properties incomplete for index 22 = )
Warning: properties incomplete for index 23 = O
Warning: properties incomplete for index 24 = Y
Warning: properties incomplete for index 25 = .
Warning: properties incomplete for index 26 = D
Warning: properties incomplete for index 27 = A
Warning: properties incomplete for index 28 = M
Warning: properties incomplete for index 29 = U
Warning: properties incomplete for index 30 = P
Warning: properties incomplete for index 31 = [
Warning: properties incomplete for index 32 = ]
Warning: properties incomplete for index 33 = 9
Warning: properties incomplete for index 34 = 7
Warning: properties incomplete for index 35 = 0
Warning: properties incomplete for index 36 = 1
Warning: properties incomplete for index 37 = 4
Warning: properties incomplete for index 38 = 2
Warning: properties incomplete for index 39 = W
Warning: properties incomplete for index 40 = 3
Warning: properties incomplete for index 41 = <
Warning: properties incomplete for index 42 = >
Warning: properties incomplete for index 43 = "
Warning: properties incomplete for index 44 = V
Warning: properties incomplete for index 45 = X
Warning: properties incomplete for index 46 = '
Warning: properties incomplete for index 47 = ~
Warning: properties incomplete for index 48 = !
Warning: properties incomplete for index 49 = J
Warning: properties incomplete for index 50 = Q
Warning: properties incomplete for index 51 = Z
Warning: properties incomplete for index 52 = +
Warning: properties incomplete for index 53 = @
Warning: properties incomplete for index 54 = &
Warning: properties incomplete for index 55 = ’
Warning: properties incomplete for index 56 = =
Warning: properties incomplete for index 57 = _
Warning: properties incomplete for index 58 = €
Warning: properties incomplete for index 59 = ™
Warning: properties incomplete for index 60 = “
Warning: properties incomplete for index 61 = |
Warning: properties incomplete for index 62 = ?
Warning: properties incomplete for index 63 = :
Warning: properties incomplete for index 64 = 6
Warning: properties incomplete for index 65 = {
Warning: properties incomplete for index 66 = }
Warning: properties incomplete for index 67 = $
Warning: properties incomplete for index 68 = ;
Warning: properties incomplete for index 69 =
Warning: properties incomplete for index 70 = —
Warning: properties incomplete for index 71 = ”
Warning: properties incomplete for index 72 = *
Warning: properties incomplete for index 73 = #
Warning: properties incomplete for index 74 = »
Warning: properties incomplete for index 75 = ®
Warning: properties incomplete for index 76 = %
Warning: properties incomplete for index 77 = £
Warning: properties incomplete for index 78 = «
Warning: properties incomplete for index 79 = °
Warning: properties incomplete for index 80 = ©
Warning: properties incomplete for index 81 = §
Warning: properties incomplete for index 82 = ¥
Warning: properties incomplete for index 83 = ¢
Warning: properties incomplete for index 84 = ‘
Warning: properties incomplete for index 85 = i
Warning: properties incomplete for index 86 = n
Warning: properties incomplete for index 87 = c
Warning: properties incomplete for index 88 = u
Warning: properties incomplete for index 89 = l
Warning: properties incomplete for index 90 = a
Warning: properties incomplete for index 91 = t
Warning: properties incomplete for index 92 = e
Warning: properties incomplete for index 93 = m
Warning: properties incomplete for index 94 = o
Warning: properties incomplete for index 95 = s
Warning: properties incomplete for index 96 = g
Warning: properties incomplete for index 97 = h
Warning: properties incomplete for index 98 = b
Warning: properties incomplete for index 99 = z
Warning: properties incomplete for index 100 = v
Warning: properties incomplete for index 101 = q
Warning: properties incomplete for index 102 = f
Warning: properties incomplete for index 103 = r
Warning: properties incomplete for index 104 = w
Warning: properties incomplete for index 105 = p
Warning: properties incomplete for index 106 = d
Warning: properties incomplete for index 107 = k
Warning: properties incomplete for index 108 = x
Warning: properties incomplete for index 109 = y
Warning: properties incomplete for index 110 = j
Warning: properties incomplete for index 111 = é
Config file is optional, continuing...
Failed to read data from: data/langdata/Y14.5M/Y14.5M.config
Failed to read data from: data/langdata/radical-stroke.txt
Error reading radical code table data/langdata/radical-stroke.txt
make: *** [Makefile:309: data/Y14.5M/Y14.5M.traineddata] Error 1

Can you please help me with this
I tried every thing
even cloned as you said
I have lstm.train
and eng.trainedata
in their respective places
even so
I am getting this error

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant