Skip to content

Commit 9b377fd

Browse files
Fix the erroneus variable. (#1240)
Co-authored-by: holly1238 <77758406+holly1238@users.noreply.github.com>
1 parent 7c6ff80 commit 9b377fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

recipes_source/recipes/loading_data_recipe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101

102102
# A data point in Yesno is a tuple (waveform, sample_rate, labels) where labels
103103
# is a list of integers with 1 for yes and 0 for no.
104-
yesno_data_trainset = torchaudio.datasets.YESNO('./', download=True)
104+
yesno_data = torchaudio.datasets.YESNO('./', download=True)
105105

106106
# Pick data point number 3 to see an example of the the yesno_data:
107107
n = 3

0 commit comments

Comments
 (0)