Open mytarmail opened 1 year ago
Hi @mytarmail
Thanks for reporting, this is a bug in our implementation which fails if the root
directory doesn't exist.
A workaround is to, create the directory first, and then pass to the root
argument.
library(torch)
library(torchaudio)
library(luz)
dir <- fs::dir_create("~/torch-datasets")
ds <- speechcommand_dataset(
root = dir,
url = "speech_commands_v0.01",
download = TRUE
)
Hi ! i try to run this dataset but can not https://skeydan.github.io/Deep-Learning-and-Scientific-Computing-with-R-torch/audio_classification.html