Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
seungwonpark committed Nov 18, 2021
1 parent 1417166 commit 6601da3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpc/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,8 +410,8 @@ def __iter__(self):

def extractLength(couple):
speaker, locPath = couple
info = torchaudio.info(str(locPath))[0]
return info.length
info = torchaudio.info(str(locPath))
return info.num_frames


def findAllSeqs(dirName,
Expand Down

0 comments on commit 6601da3

Please sign in to comment.