archinetai / audio-data-pytorch

A collection of useful audio datasets and transforms for PyTorch.
MIT License
129 stars 22 forks source link

No module named 'datasets' #1

Closed barneyhill closed 1 year ago

barneyhill commented 1 year ago

Python 3.9.12

>>> from audio_data_pytorch import YoutubeDataset
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/home01/mm19bh2/.conda/envs/ad/lib/python3.9/site-packages/audio_data_pytorch/__init__.py", line 1, in <module>
    from .datasets import *  # noqa
  File "/home/home01/mm19bh2/.conda/envs/ad/lib/python3.9/site-packages/audio_data_pytorch/datasets/__init__.py", line 1, in <module>
    from .common_voice_dataset import CommonVoiceDataset
  File "/home/home01/mm19bh2/.conda/envs/ad/lib/python3.9/site-packages/audio_data_pytorch/datasets/common_voice_dataset.py", line 5, in <module>
    from datasets import interleave_datasets, load_dataset
ModuleNotFoundError: No module named 'datasets'

Just installed this library using "pip install audio-data-pytorch" and getting this error, any ideas?

Many thanks, Barney

flavioschneider commented 1 year ago

Ah! Should be fixed in v0.0.6.

barneyhill commented 1 year ago

Wonderful thank you very much - excellent standard of code btw 👍

flavioschneider commented 1 year ago

Thank you! :)