Skip to content

Commit

Permalink
Update Backup_pesq.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yuguochencuc authored Jan 16, 2022
1 parent a4cad85 commit 4089484
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Backup_pesq.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
"""
This script is the backup function used to support backup support for the SE system
Author: Andong Li
Time: 2019/05
"""

import torch
import torch.nn as nn
import librosa
Expand Down Expand Up @@ -104,4 +100,4 @@ def eval_pesq(id, esti_utts, clean_utts):
#pesq_score = pesq(16000, clean_utt, esti_utt, 'wb')
pesq_score = pesq(clean_utt, esti_utt, fs=16000)

return pesq_score
return pesq_score

0 comments on commit 4089484

Please sign in to comment.