Merge branch 'dev' of https://github.com/shahules786/enhancer into dev-hawk

This commit is contained in:
shahules786 2022-10-12 10:32:52 +05:30
commit e4a2eb7844
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ class Pesq:
return self.pesq(prediction, target) return self.pesq(prediction, target)
except Exception as e: except Exception as e:
logging.warning(f"{e} error occured while calculating PESQ") logging.warning(f"{e} error occured while calculating PESQ")
return 0.0 return torch.tensor(0.0)
class LossWrapper(nn.Module): class LossWrapper(nn.Module):