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

Getting last layer representations of the encoder and decoder? #14

Closed
johnnytam100 opened this issue Aug 1, 2022 · 1 comment
Closed

Comments

@johnnytam100
Copy link

Hi @dauparas !
Would you mind telling us which variables are the last layer representations of the encoder and decoder?
I want to output those representations.
Thank you!

@dauparas
Copy link
Owner

Hey!

Sure, the encoder last activations are https://github.com/dauparas/ProteinMPNN/blob/main/protein_mpnn_utils.py#L1048
after this line:

h_V - [batch, protein length, 128] - node embedding
h_E - [batch, protein length, 48, 128] - edge embedding

The decoder last activations are:
https://github.com/dauparas/ProteinMPNN/blob/main/protein_mpnn_utils.py#L1075
after this line:
h_V - [batch, protein length, 128] - node embedding

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