質問編集履歴
4
状況変化
test
CHANGED
File without changes
|
test
CHANGED
@@ -72,7 +72,7 @@
|
|
72
72
|
|
73
73
|
```
|
74
74
|
|
75
|
-
#上記エラーはtesseractフォルダ内でmake training & make training-installを実行したところ
|
75
|
+
#上記エラーはtesseractフォルダ内でmake training & make training-installを実行したところ解消されました。ただ、再度学習コマンドを走らせたところ以下のエラーが発生しました
|
76
76
|
|
77
77
|
```txt
|
78
78
|
|
3
状況変化
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
tesseractの学習でread_params_file: Can't open lstm.train
|
test
CHANGED
@@ -71,3 +71,55 @@
|
|
71
71
|
|
72
72
|
|
73
73
|
```
|
74
|
+
|
75
|
+
#上記エラーはtesseractフォルダ内でmake training & make training-installを実行したところエラーは解消されました。再度学習コマンドを走らせたところ以下のエラーが発生しました
|
76
|
+
|
77
|
+
```txt
|
78
|
+
|
79
|
+
Page 1
|
80
|
+
|
81
|
+
+ tesseract data/mnist-ground-truth/00003.tif data/mnist-ground-truth/00003 --psm 13 lstm.train
|
82
|
+
|
83
|
+
read_params_file: Can't open lstm.train
|
84
|
+
|
85
|
+
Tesseract Open Source OCR Engine v4.1.1 with Leptonica
|
86
|
+
|
87
|
+
Page 1
|
88
|
+
|
89
|
+
+ tesseract data/mnist-ground-truth/00002.tif data/mnist-ground-truth/00002 --psm 13 lstm.train
|
90
|
+
|
91
|
+
read_params_file: Can't open lstm.train
|
92
|
+
|
93
|
+
Tesseract Open Source OCR Engine v4.1.1 with Leptonica
|
94
|
+
|
95
|
+
Page 1
|
96
|
+
|
97
|
+
+ tesseract data/mnist-ground-truth/00001.tif data/mnist-ground-truth/00001 --psm 13 lstm.train
|
98
|
+
|
99
|
+
read_params_file: Can't open lstm.train
|
100
|
+
|
101
|
+
Tesseract Open Source OCR Engine v4.1.1 with Leptonica
|
102
|
+
|
103
|
+
Page 1
|
104
|
+
|
105
|
+
+ tesseract data/mnist-ground-truth/00000.tif data/mnist-ground-truth/00000 --psm 13 lstm.train
|
106
|
+
|
107
|
+
read_params_file: Can't open lstm.train
|
108
|
+
|
109
|
+
Tesseract Open Source OCR Engine v4.1.1 with Leptonica
|
110
|
+
|
111
|
+
Page 1
|
112
|
+
|
113
|
+
find data/mnist-ground-truth -name '*.lstmf' | python3 shuffle.py 0 > "data/mnist/all-lstmf"
|
114
|
+
|
115
|
+
Error: missing ground truth for training
|
116
|
+
|
117
|
+
make: *** [Makefile:166: data/mnist/list.train] エラー 1
|
118
|
+
|
119
|
+
Command exited with non-zero status 2
|
120
|
+
|
121
|
+
Run time = 7:08.32
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
```
|
2
状況変化
test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ocr-dで
|
1
|
+
ocr-dで/bin/bash: unicharset_extractor: command not found
|
test
CHANGED
@@ -36,4 +36,38 @@
|
|
36
36
|
|
37
37
|
```
|
38
38
|
|
39
|
-
#yumで以前に入れたtesseractの方を削除したところ、上記エラーは出なくなりましたが
|
39
|
+
#yumで以前に入れたtesseractの方を削除したところ、上記エラーは出なくなりましたが以下のエラーが発生しました
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
```txt
|
44
|
+
|
45
|
+
(django_dog) [root@localhost ocrd-train]# nohup time -f "Run time = %E\n" make training MODEL_NAME=mnist >> train.log 2>&1 &
|
46
|
+
|
47
|
+
[1] 51691
|
48
|
+
|
49
|
+
(django_dog) [root@localhost ocrd-train]# tail -f train.log
|
50
|
+
|
51
|
+
Command exited with non-zero status 2
|
52
|
+
|
53
|
+
Run time = 0:00.45
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
nohup: 入力を無視します
|
58
|
+
|
59
|
+
unicharset_extractor --output_unicharset "data/mnist/unicharset" --norm_mode 2 "data/mnist/all-gt"
|
60
|
+
|
61
|
+
/bin/bash: unicharset_extractor: command not found
|
62
|
+
|
63
|
+
make: *** [Makefile:186: data/mnist/unicharset] エラー 127
|
64
|
+
|
65
|
+
Command exited with non-zero status 2
|
66
|
+
|
67
|
+
Run time = 0:00.45
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
```
|
1
状況変化
test
CHANGED
File without changes
|
test
CHANGED
@@ -35,3 +35,5 @@
|
|
35
35
|
Run time = 0:00.45
|
36
36
|
|
37
37
|
```
|
38
|
+
|
39
|
+
#yumで以前に入れたtesseractの方を削除したところ、上記エラーは出なくなりましたが別のエラーが出て解析中です
|