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

按照步骤已得到训练模型,但是测试无法识别 #84

Open
shiyinzhi opened this issue Jul 6, 2020 · 1 comment
Open

按照步骤已得到训练模型,但是测试无法识别 #84

shiyinzhi opened this issue Jul 6, 2020 · 1 comment

Comments

@shiyinzhi
Copy link

张0jhon 您好,首先非常感谢您开源这个项目。通过训练已经得到了模型,但是在做test 的时候发现无法识别,是否是哪里出错了呢?

@xianzhe-741
Copy link

张0jhon 您好,首先非常感谢您开源这个项目。通过训练已经得到了模型,但是在做test 的时候发现无法识别,是否是哪里出错了呢?

请问你训练过程中有没有遇见过这个问题: - -!
Traceback (most recent call last):
File "train.py", line 81, in
train()
File "train.py", line 64, in train
starting_epoch=cfg.starting_epoch
File "/usr/local/lib/python3.6/dist-packages/tensorpack/train/config.py", line 119, in init
assert_type(model, ModelDescBase, 'model')
File "/usr/local/lib/python3.6/dist-packages/tensorpack/train/config.py", line 107, in assert_type
name, tp.name, v.class.name)
AssertionError: model has to be type 'ModelDescBase', but an object of type 'AttentionOCR' found.

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