Audio data can't be used

#2
by hulki - opened

Here is my code snippet;

data = load_dataset("google/WaxalNLP", "ach_asr", split="test")
print(dt["audio"][0])

RuntimeError: Could not load libtorchcodec. Likely causes:

  1. FFmpeg is not properly installed in your environment. We support
    versions 4, 5, 6, 7, and 8, and we attempt to load libtorchcodec
    for each of those versions. Errors for versions not installed on
    your system are expected; only the error for your installed FFmpeg
    version is relevant. On Windows, ensure you've installed the
    "full-shared" version which ships DLLs.
  2. The PyTorch version (2.9.0+cpu) is not compatible with
    this version of TorchCodec. Refer to the version compatibility
    table:
    https://github.com/pytorch/torchcodec?tab=readme-ov-file#installing-torchcodec.
  3. Another runtime dependency; see exceptions below.
    Is anyone else having the same error?
    It happened with many other datasets as well.

Sign up or log in to comment