File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1860,7 +1860,7 @@ def sample(
18601860 self ,
18611861 atom_mask : Bool ['b m' ] | None = None ,
18621862 num_sample_steps = None ,
1863- clamp = True ,
1863+ clamp = False ,
18641864 ** network_condition_kwargs
18651865 ):
18661866 num_sample_steps = default (num_sample_steps , self .num_sample_steps )
@@ -1911,7 +1911,9 @@ def sample(
19111911
19121912 atom_pos = atom_pos_next
19131913
1914- atom_pos = atom_pos .clamp (- 1. , 1. )
1914+ if clamp :
1915+ atom_pos = atom_pos .clamp (- 1. , 1. )
1916+
19151917 return atom_pos
19161918
19171919 # training
Original file line number Diff line number Diff line change 11[project ]
22name = " alphafold3-pytorch"
3- version = " 0.0.32 "
3+ version = " 0.0.33 "
44description = " Alphafold 3 - Pytorch"
55authors = [
66 {
name =
" Phil Wang" ,
email =
" [email protected] " }
You can’t perform that action at this time.
0 commit comments