File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2047,7 +2047,7 @@ def forward(
20472047
20482048 smooth_lddt_loss = self .smooth_lddt_loss (
20492049 denoised_atom_pos ,
2050- normalized_atom_pos ,
2050+ atom_pos_ground_truth ,
20512051 atom_is_dna ,
20522052 atom_is_rna ,
20532053 coords_mask = atom_mask
@@ -2488,7 +2488,7 @@ def __init__(
24882488 self ,
24892489 * ,
24902490 dim_single_inputs ,
2491- atompair_dist_bins : Float ['d' ],
2491+ atompair_dist_bins : Float [' d' ],
24922492 dim_single = 384 ,
24932493 dim_pairwise = 128 ,
24942494 num_plddt_bins = 50 ,
Original file line number Diff line number Diff line change 11from __future__ import annotations
2- from typing import NamedTuple
2+ from typing import NamedTuple , Tuple
33
44import torch
55from torch import nn
Original file line number Diff line number Diff line change 11[project ]
22name = " alphafold3-pytorch"
3- version = " 0.0.33 "
3+ version = " 0.0.34 "
44description = " Alphafold 3 - Pytorch"
55authors = [
66 {
name =
" Phil Wang" ,
email =
" [email protected] " }
Original file line number Diff line number Diff line change @@ -428,6 +428,7 @@ def test_alphafold3():
428428 pde_labels = pde_labels ,
429429 plddt_labels = plddt_labels ,
430430 resolved_labels = resolved_labels ,
431+ diffusion_add_smooth_lddt_loss = True ,
431432 return_loss_breakdown = True
432433 )
433434
@@ -580,7 +581,6 @@ def test_alphafold3_with_packed_atom_repr():
580581
581582 loss .backward ()
582583
583- print (residue_atom_lens )
584584 sampled_atom_pos = alphafold3 (
585585 num_sample_steps = 16 ,
586586 atom_inputs = atom_inputs ,
You can’t perform that action at this time.
0 commit comments