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

Should tanh_out and sigm_out in residual_block share the same convolutional output #37

Closed
lidalei opened this issue Jul 12, 2018 · 4 comments

Comments

@lidalei
Copy link

lidalei commented Jul 12, 2018

Shouldn't tanh_out in https://github.com/basveeling/wavenet/blob/master/wavenet.py#L226 and sigm_out in https://github.com/basveeling/wavenet/blob/master/wavenet.py#L230 share the same convolutional output instead of two independent convolutional outputs?

@lidalei
Copy link
Author

lidalei commented Jul 12, 2018

Also, this line https://github.com/basveeling/wavenet/blob/master/wavenet.py#L236 looks useless.

@zhuyiche
Copy link

zhuyiche commented Nov 15, 2018

read paper more carefully and compare to the other implementations before your open an issue

@lidalei
Copy link
Author

lidalei commented Nov 15, 2018

Which message are you replying to? The paper says it uses a new kind of activation function. Using two convolutional layers and combining them afterwards is not equivalent to that. I will read the paper again and come back later (on a holiday).

@basveeling
Copy link
Owner

Hi Dalei,

If you believe that the gated activation is implemented incorrectly, please feel free to submit a pull request with some evidence that your proposed implementation is more faithful to the paper.

Thanks,

Bas

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

3 participants