-
Notifications
You must be signed in to change notification settings - Fork 19
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
Input filter dimension for the first convolution layer. #2
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi!
Thanks for this implementation!
I have a question about the conv1d layer setting in your implementation here:
molecular-VAE/models.py
Line 12 in 99c3ec7
where you specify an input filter size = 120. However, 120 is the length of the padded SMILES strings. The one-hot encoded SMILES string has a dimension of 120 x 35, the filter input filter should be 35 instead of 120 because you are convolving along the SMILES sequence.
This also means that you need to transpose your bached sequence data for the convolution operation to correctly operate on the sequence along the right dimension.
Just want to confirm this detail. If I am right, I can submit a PR to correct this after benchmarking.
The text was updated successfully, but these errors were encountered: