Skip to content

Commit b525b84

Browse files
authored
Add MSA, resolution parsing, and switch to hybrid-resolution confidence head and labels (#168)
Add MSA, resolution parsing, and switch to hybrid-resolution confidence head and labels
1 parent de7370b commit b525b84

File tree

9 files changed

+809
-356
lines changed

9 files changed

+809
-356
lines changed

README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,7 @@ atom_pos = torch.randn(2, atom_seq_len, 3)
9898
molecule_atom_indices = molecule_atom_lens - 1 # last atom, as an example
9999

100100
distance_labels = torch.randint(0, 37, (2, seq_len, seq_len))
101-
pae_labels = torch.randint(0, 64, (2, seq_len, seq_len))
102-
pde_labels = torch.randint(0, 64, (2, seq_len, seq_len))
103-
plddt_labels = torch.randint(0, 50, (2, seq_len))
104-
resolved_labels = torch.randint(0, 2, (2, seq_len))
101+
resolved_labels = torch.randint(0, 2, (2, atom_seq_len))
105102

106103
# train
107104

@@ -122,9 +119,6 @@ loss = alphafold3(
122119
atom_pos = atom_pos,
123120
molecule_atom_indices = molecule_atom_indices,
124121
distance_labels = distance_labels,
125-
pae_labels = pae_labels,
126-
pde_labels = pde_labels,
127-
plddt_labels = plddt_labels,
128122
resolved_labels = resolved_labels
129123
)
130124

0 commit comments

Comments
 (0)