teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

4

状況変化

2020/09/03 06:03

投稿

sarasa_38765
sarasa_38765

スコア34

title CHANGED
File without changes
body CHANGED
@@ -35,7 +35,7 @@
35
35
 
36
36
 
37
37
  ```
38
- #上記エラーはtesseractフォルダ内でmake training & make training-installを実行したところエラーは解消されました。再度学習コマンドを走らせたところ以下のエラーが発生しました
38
+ #上記エラーはtesseractフォルダ内でmake training & make training-installを実行したところ解消されました。ただ、再度学習コマンドを走らせたところ以下のエラーが発生しました
39
39
  ```txt
40
40
  Page 1
41
41
  + tesseract data/mnist-ground-truth/00003.tif data/mnist-ground-truth/00003 --psm 13 lstm.train

3

状況変化

2020/09/03 06:03

投稿

sarasa_38765
sarasa_38765

スコア34

title CHANGED
@@ -1,1 +1,1 @@
1
- ocr-d/bin/bash: unicharset_extractor: command not found
1
+ tesseractの学習read_params_file: Can't open lstm.train
body CHANGED
@@ -34,4 +34,30 @@
34
34
  Run time = 0:00.45
35
35
 
36
36
 
37
+ ```
38
+ #上記エラーはtesseractフォルダ内でmake training & make training-installを実行したところエラーは解消されました。再度学習コマンドを走らせたところ以下のエラーが発生しました
39
+ ```txt
40
+ Page 1
41
+ + tesseract data/mnist-ground-truth/00003.tif data/mnist-ground-truth/00003 --psm 13 lstm.train
42
+ read_params_file: Can't open lstm.train
43
+ Tesseract Open Source OCR Engine v4.1.1 with Leptonica
44
+ Page 1
45
+ + tesseract data/mnist-ground-truth/00002.tif data/mnist-ground-truth/00002 --psm 13 lstm.train
46
+ read_params_file: Can't open lstm.train
47
+ Tesseract Open Source OCR Engine v4.1.1 with Leptonica
48
+ Page 1
49
+ + tesseract data/mnist-ground-truth/00001.tif data/mnist-ground-truth/00001 --psm 13 lstm.train
50
+ read_params_file: Can't open lstm.train
51
+ Tesseract Open Source OCR Engine v4.1.1 with Leptonica
52
+ Page 1
53
+ + tesseract data/mnist-ground-truth/00000.tif data/mnist-ground-truth/00000 --psm 13 lstm.train
54
+ read_params_file: Can't open lstm.train
55
+ Tesseract Open Source OCR Engine v4.1.1 with Leptonica
56
+ Page 1
57
+ find data/mnist-ground-truth -name '*.lstmf' | python3 shuffle.py 0 > "data/mnist/all-lstmf"
58
+ Error: missing ground truth for training
59
+ make: *** [Makefile:166: data/mnist/list.train] エラー 1
60
+ Command exited with non-zero status 2
61
+ Run time = 7:08.32
62
+
37
63
  ```

2

状況変化

2020/09/03 06:01

投稿

sarasa_38765
sarasa_38765

スコア34

title CHANGED
@@ -1,1 +1,1 @@
1
- ocr-dで shared library version mismatch (was 4.1.1, expected 4.1.1-rc2-20-g01fb)
1
+ ocr-dで/bin/bash: unicharset_extractor: command not found
body CHANGED
@@ -17,4 +17,21 @@
17
17
  Command exited with non-zero status 2
18
18
  Run time = 0:00.45
19
19
  ```
20
- #yumで以前に入れたtesseractの方を削除したところ、上記エラーは出なくなりましたがのエラーが出て解析中です
20
+ #yumで以前に入れたtesseractの方を削除したところ、上記エラーは出なくなりましたが以下のエラーが発生しました
21
+
22
+ ```txt
23
+ (django_dog) [root@localhost ocrd-train]# nohup time -f "Run time = %E\n" make training MODEL_NAME=mnist >> train.log 2>&1 &
24
+ [1] 51691
25
+ (django_dog) [root@localhost ocrd-train]# tail -f train.log
26
+ Command exited with non-zero status 2
27
+ Run time = 0:00.45
28
+
29
+ nohup: 入力を無視します
30
+ unicharset_extractor --output_unicharset "data/mnist/unicharset" --norm_mode 2 "data/mnist/all-gt"
31
+ /bin/bash: unicharset_extractor: command not found
32
+ make: *** [Makefile:186: data/mnist/unicharset] エラー 127
33
+ Command exited with non-zero status 2
34
+ Run time = 0:00.45
35
+
36
+
37
+ ```

1

状況変化

2020/09/03 02:53

投稿

sarasa_38765
sarasa_38765

スコア34

title CHANGED
File without changes
body CHANGED
@@ -16,4 +16,5 @@
16
16
  make: *** [Makefile:186: data/mnist/unicharset] エラー 1
17
17
  Command exited with non-zero status 2
18
18
  Run time = 0:00.45
19
- ```
19
+ ```
20
+ #yumで以前に入れたtesseractの方を削除したところ、上記エラーは出なくなりましたが別のエラーが出て解析中です