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

train.py error ModelDescBase? #99

Open
xianzhe-741 opened this issue Dec 16, 2020 · 0 comments
Open

train.py error ModelDescBase? #99

xianzhe-741 opened this issue Dec 16, 2020 · 0 comments

Comments

@xianzhe-741
Copy link

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

1 participant