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

ValueError: You can only pass an initializer function #9

Open
parksunwoo opened this issue Jan 26, 2019 · 0 comments
Open

ValueError: You can only pass an initializer function #9

parksunwoo opened this issue Jan 26, 2019 · 0 comments

Comments

@parksunwoo
Copy link

parksunwoo commented Jan 26, 2019

I'm interested in dual ask-answer model too much.
I weired error in below

File "/Users/sunu/IdeaProjects/QAZeroToAll/daanet/daanet/basic.py", line 169, in _embed
trainable=True)
File "/Users/sunu/IdeaProjects/QAZeroToAll/daanet/nlp/nn.py", line 91, in get_var
regularizer=regularizer_fn, **kwargs)
...
ValueError: You can only pass an initializer function that expects no arguments to its callable when the shape is not fully defined. The given initializer function expects the following args ['shape', 'dtype', 'partition_info']

I wondered why
daanet / basic.py
only use the get_var () method in self.char_emb

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