simonduerr commited on
Commit
ad1be8f
1 Parent(s): c45f6d1

Update ProteinMPNN/vanilla_proteinmpnn/protein_mpnn_utils.py

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