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

models/attention/decoders/attention_layer.py #23

Open
cuhkebook opened this issue Oct 26, 2017 · 1 comment
Open

models/attention/decoders/attention_layer.py #23

cuhkebook opened this issue Oct 26, 2017 · 1 comment

Comments

@cuhkebook
Copy link

In the class AttentionLayer (models/attention/decoders/attention_layer.py), the initial parameter does not include "sigmoid_smoothing".

But, in models/attention/attention_seq2seq.py, it calls AttentionLayer with sigmoid_smoothing=self.sigmoid_smoothing (line 338).

Which file should I modify? Thx!

@CyanHillFox
Copy link

Encountered the same problem too. So what did you do? I added an parameter "sigmoid_smoothing", and assigned default value to it, will it be ok?

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