Skip to content

Commit

Permalink
yes no update
Browse files Browse the repository at this point in the history
  • Loading branch information
krishnakalyan3 committed Dec 12, 2020
1 parent 89f1228 commit 6eddeb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchaudio/datasets/yesno.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def __init__(self,
"Dataset not found. Please use `download=True` to download it."
)

walker = sorted([str(p.stem) for p in Path(self._path).glob('*.' + self._ext_audio)])
walker = sorted([str(p.stem) for p in Path(self._path).glob('*' + self._ext_audio)])
self._walker = list(walker)

def __getitem__(self, n: int) -> Tuple[Tensor, int, List[int]]:
Expand Down

0 comments on commit 6eddeb2

Please sign in to comment.