We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
align_weights
alphafold3.py
1 parent f746f7b commit 91dabdcCopy full SHA for 91dabdc
alphafold3_pytorch/alphafold3.py
@@ -2021,8 +2021,9 @@ def forward(
2021
2022
# section 3.7.1 equation 4
2023
2024
- align_weights = torch.where(atom_is_dna | atom_is_rna, nucleotide_loss_weight, align_weights)
2025
- align_weights = torch.where(atom_is_ligand, ligand_loss_weight, align_weights)
+ # upweighting of nucleotide and ligand atoms is additive per equation 4
+ align_weights = torch.where(atom_is_dna | atom_is_rna, 1 + nucleotide_loss_weight, align_weights)
2026
+ align_weights = torch.where(atom_is_ligand, 1 + ligand_loss_weight, align_weights)
2027
2028
# section 3.7.1 equation 2 - weighted rigid aligned ground truth
2029
0 commit comments