question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error when loading VCTK

See original GitHub issue

I’m getting an error from SOX when loading VCTK.

>>> import torchaudio
>>> torchaudio.datasets.VCTK("~/VCTK", download=True)
Downloading http://homepages.inf.ed.ac.uk/jyamagis/release/VCTK-Corpus.tar.gz
Processing...
Found 44257 audio files and 44085 utterences
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/private/home/vincentqb/anaconda3/envs/audiotutorial/lib/python3.7/site-packages/torchaudio-0.2-py3.7-linux-x86_64.egg/torchaudio/datasets/vctk.py", line 109, in __init__
    self.download()
  File "/private/home/vincentqb/anaconda3/envs/audiotutorial/lib/python3.7/site-packages/torchaudio-0.2-py3.7-linux-x86_64.egg/torchaudio/datasets/vctk.py", line 220, in download
    sig = read_audio(f, downsample=self.downsample)[0]
  File "/private/home/vincentqb/anaconda3/envs/audiotutorial/lib/python3.7/site-packages/torchaudio-0.2-py3.7-linux-x86_64.egg/torchaudio/datasets/vctk.py", line 39, in read_audio
    E = torchaudio.sox_effects.SoxEffects()
AttributeError: module 'torchaudio.sox_effects' has no attribute 'SoxEffects'

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jamarshoncommented, Aug 2, 2019

@rfalcon100 Okay so you can either wait for 0.3.0 binaries to come out or build from source (master or v0.3.0 as they are almost identical at this point of time). Let us know if you run into any issues

0reactions
rfalcon100commented, Aug 2, 2019

I do have 0.2.0.

>>> torchaudio.__version__
'0.2.0'
Read more comments on GitHub >

github_iconTop Results From Across the Web

Tensorflow-datasets: Dataset VCTK not found - Stack Overflow
In my project I use the tensorflow-datasets module to load the VCTK dataset like this: dataset = tfds.load("vctk", with_info=False).
Read more >
vctk · Datasets at Hugging Face
The dataset preview is not available for this split. Cannot load the dataset split (in streaming mode) to extract the first rows. ......
Read more >
vctk - Datasets - TensorFlow
This CSTR VCTK Corpus includes speech data uttered by 110 English speakers with various ... Note that the 'p315' text was lost due...
Read more >
Source code for torchaudio.datasets.vctk - PyTorch
Giving ``download=True`` will result in error as the dataset is no longer publicly ... Args: n (int): The index of the sample to...
Read more >
English Multi-speaker Corpus for CSTR Voice Cloning Toolkit ...
This CSTR VCTK Corpus includes speech data uttered by 110 English speakers with ... the 'p315' text was lost due to a hard...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found