Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Make training model failed with illegal line count -- 0 #45

Closed
andymishra opened this issue Dec 15, 2018 · 1 comment
Closed

Make training model failed with illegal line count -- 0 #45

andymishra opened this issue Dec 15, 2018 · 1 comment

Comments

@andymishra
Copy link

Hi!

I am trying to create a model with the data set given in the repo. I tried below command.

make training MODEL_NAME=name-of-the-resulting-mode
Dependencies are already installed in my mac with help of homebrew, I am getting the following errors.

Unfortunately, when I try this command I get the following errors:

find data/ground-truth -name '*.box' -exec cat {} \; > "data/all-boxes"
unicharset_extractor --output_unicharset "data/unicharset" --norm_mode 1 "data/all-boxes"
Failed to read data from: data/all-boxes
Wrote unicharset file data/unicharset
find data/ground-truth -name '*.lstmf' -exec echo {} \; | sort -R -o "data/all-lstmf"
total=`cat data/all-lstmf | wc -l` \
	   no=`echo "$total * 0.90 / 1" | bc`; \
	   head -n "$no" data/all-lstmf > "data/list.train"
head: illegal line count -- 0
make: *** [data/list.train] Error 1

Thanks

@andymishra
Copy link
Author

andymishra commented Dec 17, 2018

HI,

Thanks for such wonderful lib. I managed to generate the .traindata file.

Thanks

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

No branches or pull requests

1 participant