Skip to content

I can't load data from an example from a book #69

@mytarmail

Description

@mytarmail

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

library(torch)
 library(torchaudio)
 library(luz)
 
 ds <- speechcommand_dataset(
   root = "~/.torch-datasets", 
   url = "speech_commands_v0.01",
   download = TRUE
 )


Error in if (!tools::md5sum(destfile) == checksum) runtime_error(glue::glue("MD5 sums are not identical for file: {destfile}.")) : 
  missing value where TRUE/FALSE needed
In addition: Warning messages:
1: In utils::download.file(url = url, destfile = destfile) :
  URL https://storage.googleapis.com/download.tensorflow.org/data/speech_commands_v0.01.tar.gz: cannot open destfile '~/.torch-datasets/speech_commands_v0.01.tar.gz', reason 'No such file or directory'
2: In utils::download.file(url = url, destfile = destfile) :
  download had nonzero exit status
sessionInfo()
R version 4.3.0 (2023-04-21 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

Matrix products: default
   

time zone: Europe/Kiev
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] torchdatasets_0.3.0 torchaudio_0.3.1    luz_0.4.0           torch_0.11.0  

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions