*mgr_.Init(traineddata_path.c_str()):Error:Assert failed:in file ../../src/lstm/lstmtrainer.h, line 110*
Your traineddata file path is incorrect or file does not exist On Sun, Apr 7, 2019 at 2:22 PM Trong <trongnhan....@gmail.com> wrote: > Hi, > I tried to train and got error > > *mgr_.Init(traineddata_path.c_str()):Error:Assert failed:in file > ../../src/lstm/lstmtrainer.h, line 110Illegal instruction (core > dumped)* > > Are there any problems in my enviroiment ? > OS: Ubuntu 18.04 64bit. Others are in below element. > Thanks, > > titi@Ubun18:~/tessscratch$ ls -1 *.lstmf > vie.training_files.txt > titi@Ubun18:~/tessscratch$ lstmtraining \ > > --model_output viescratch/LAYER \ > > --net_spec '[1,36,0,1 Ct3,3,16 Mp3,3 Lfys48 Lfx96 Lrx96 Lfx256 O1c111]' > \ > > --learning_rate 20e-4 \ > > --traineddata viescratch/vie/vie.traineddata \ > > --train_listfile vie.training_files.txt \ > > --debug_interval -1 \ > > --max_iterations 100 > mgr_.Init(traineddata_path.c_str()):Error:Assert failed:in file ../../src/ > lstm/lstmtrainer.h, line 110 > Illegal instruction (core dumped) > titi@Ubun18:~/tessscratch$ tesseract -v > tesseract 4.1.0-rc1-223-g3e71 > leptonica-1.75.3 > libgif 5.1.4 : libjpeg 8d (libjpeg-turbo 1.5.2) : libpng 1.6.34 : > libtiff 4.0.9 : zlib 1.2.11 : libwebp 0.6.1 : libopenjp2 2.3.0 > > > Found SSE > titi@Ubun18:~/tessscratch$ text2image -v > Using CAIRO_FONT_TYPE_FT. > 4.1.0-rc1-223-g3e71 > titi@Ubun18:~/tessscratch$ unicharset_extractor -v > 4.1.0-rc1-223-g3e71 > titi@Ubun18:~/tessscratch$ set_unicharset_properties -v > 4.1.0-rc1-223-g3e71 > titi@Ubun18:~/tessscratch$ combine_lang_model -v > 4.1.0-rc1-223-g3e71 > titi@Ubun18:~/tessscratch$ lstmtraining -v > 4.1.0-rc1-223-g3e71 > titi@Ubun18:~/tessscratch$ lstmeval -v > 4.1.0-rc1-223-g3e71 > titi@Ubun18:~/tessscratch$ > > -- > 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 post to this group, send email to tesseract-ocr@googlegroups.com. > Visit this group at https://groups.google.com/group/tesseract-ocr. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tesseract-ocr/0f5934ee-b9b5-4696-a910-4c7922de777b%40googlegroups.com > <https://groups.google.com/d/msgid/tesseract-ocr/0f5934ee-b9b5-4696-a910-4c7922de777b%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- ____________________________________________________________ भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com -- 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 post to this group, send email to tesseract-ocr@googlegroups.com. Visit this group at https://groups.google.com/group/tesseract-ocr. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAG2NduXoB3687ZA8Qkd643giB5igVEC6MmSwgn40GouSf%2BatRQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.