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

dnsm-experiments-1 #39 supporting PR #87

Merged
merged 3 commits into from
Nov 16, 2024
Merged

Conversation

willdumm
Copy link
Contributor

@willdumm willdumm commented Nov 15, 2024

Adds output_dim to single model for matching output dimensions expected by DASM. Supporting PR for https://github.com/matsengrp/dnsm-experiments-1/pull/41

@willdumm willdumm requested a review from matsen November 15, 2024 22:37
Copy link
Contributor

@matsen matsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

return self.single_value.expand(amino_acid_indices.shape)
else:
return self.single_value.expand(
amino_acid_indices.shape + (self.output_dim,)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll have to ask for an explanation for this sometime.

@willdumm willdumm merged commit a6f02a2 into main Nov 16, 2024
2 checks passed
@willdumm willdumm deleted the dnsmex39-single-model branch November 16, 2024 00:02
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

Successfully merging this pull request may close these issues.

2 participants