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

Bug: RDesign's sample function does not actually perform any sampling #5

Open
chaitjo opened this issue Sep 30, 2024 · 0 comments
Open

Comments

@chaitjo
Copy link

chaitjo commented Sep 30, 2024

def sample(self, X, S, mask=None):

The RDesign model class seems to implement a method called sample(), which is used during inference/testing. However, the sample() method does not actually seem to use any sampling and directly returns raw logits as output.

This is an issue because:

  1. This means that any design produced by RDesign is deterministic (one input --> one output sequence) and not diverse.
  2. All recovery metric results reported in the paper are not correct (at least based on how recovery is computed in protein design).

Could you clarify whether my understanding is correct, and if so, how one should implementing sampling in RDesign?

For reference, here is how other inverse folding tools implement sampling:

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