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

Training model on IAM Dataset #4

Closed
juzer-lamo53 opened this issue Aug 11, 2018 · 5 comments
Closed

Training model on IAM Dataset #4

juzer-lamo53 opened this issue Aug 11, 2018 · 5 comments

Comments

@juzer-lamo53
Copy link

Hi,

According to your guide for training model on IAM Dataset, when I run "python main.py --train".
I receive the following error:
Traceback (most recent call last):
File "main.py", line 97, in
infer(fnInfer)
File "main.py", line 86, in infer
model = Model(open(fnCharList).read(), mustRestore=True)
File "E:\Users\Juzer\Dropbox\Master Thesis - Automatic Handling of Sheets\Implementation\SimpleHTR-master\SimpleHTR-master\src\Model.py", line 33, in init
(self.sess, self.saver) = self.setupTF()
File "E:\Users\Juzer\Dropbox\Master Thesis - Automatic Handling of Sheets\Implementation\SimpleHTR-master\SimpleHTR-master\src\Model.py", line 106, in setupTF
raise Exception('No saved model found in: ' + modelDir)
Exception: No saved model found in: ../model/

Can you help me?

Thanks in advance.

@githubharald
Copy link
Owner

for training the model, you have to download the IAM dataset.
Did you download it (more information see README)?

@juzer-lamo53
Copy link
Author

Yes, I did download the IAM Dataset for words and included it according to the instructions but I receive the mentioned error.

@juzer-lamo53
Copy link
Author

Hi, can you help me about what can be the issue?

@githubharald
Copy link
Owner

githubharald commented Aug 13, 2018

I'll come back to you until the end of this week.

@githubharald
Copy link
Owner

githubharald commented Aug 16, 2018

you have an old version of the repositor but used the recent version of the README. The command line arguments changed since then.
The solution should be pretty simple: just get the newest version of this repository and you're done ;-)

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

2 participants