simonduerr commited on
Commit
40e9a56
1 Parent(s): 05aabde

Update ProteinMPNN/vanilla_proteinmpnn/protein_mpnn_utils.py

Browse files
ProteinMPNN/vanilla_proteinmpnn/protein_mpnn_utils.py CHANGED
@@ -733,7 +733,7 @@ class ProteinFeatures(nn.Module):
733
  return RBF_A_B
734
 
735
  def forward(self, X, mask, residue_idx, chain_labels):
736
- if self.augment_eps > 0:
737
  X = X + self.augment_eps * torch.randn_like(X)
738
 
739
  b = X[:,:,1,:] - X[:,:,0,:]
 
733
  return RBF_A_B
734
 
735
  def forward(self, X, mask, residue_idx, chain_labels):
736
+ if int(self.augment_eps) > 0:
737
  X = X + self.augment_eps * torch.randn_like(X)
738
 
739
  b = X[:,:,1,:] - X[:,:,0,:]