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

__init__() got an unexpected keyword argument 'has_spatial' #2

Open
mrmrfan opened this issue Jan 9, 2021 · 0 comments
Open

__init__() got an unexpected keyword argument 'has_spatial' #2

mrmrfan opened this issue Jan 9, 2021 · 0 comments

Comments

@mrmrfan
Copy link

mrmrfan commented Jan 9, 2021

when I run python run_train_e2e.py, an error arise
Traceback (most recent call last): File "run_train_e2e.py", line 24, in <module> from datasets import get_dataloader File "/home/chaofan.yang/mgn/mgn/datasets/__init__.py", line 2, in <module> from .clevr_questions import ClevrQuestionDataset, ClevrQuestionDataLoader File "/home/chaofan.yang/mgn/mgn/datasets/clevr_questions.py", line 36, in <module> graph_parser = clevr_parser.Parser(backend='spacy', model='en_core_web_sm', has_spatial=True, has_matching=True).get_backend(identifier='spacy') File "/home/chaofan.yang/anaconda3/envs/pytorch/lib/python3.7/site-packages/clevr_parser/parser.py", line 32, in __init__ self._inst = type(self)._backend_registry[self.backend](**kwargs) TypeError: __init__() got an unexpected keyword argument 'has_spatial'

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