From 0161a04b2055884df3d9e8f7935027fd607af72b Mon Sep 17 00:00:00 2001 From: Baran Elitez Date: Mon, 16 Nov 2020 03:23:39 +0300 Subject: [PATCH] Fix the erroneus variable. --- recipes_source/recipes/loading_data_recipe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes_source/recipes/loading_data_recipe.py b/recipes_source/recipes/loading_data_recipe.py index 99e685897c3..b79d4693e2f 100644 --- a/recipes_source/recipes/loading_data_recipe.py +++ b/recipes_source/recipes/loading_data_recipe.py @@ -101,7 +101,7 @@ # A data point in Yesno is a tuple (waveform, sample_rate, labels) where labels # is a list of integers with 1 for yes and 0 for no. -yesno_data_trainset = torchaudio.datasets.YESNO('./', download=True) +yesno_data = torchaudio.datasets.YESNO('./', download=True) # Pick data point number 3 to see an example of the the yesno_data: n = 3