All notable changes to this project will be documented in this file.
ytdlp_optsargument to AudioCaps download.num_dl_attemptsargument to AudioCaps download.load_datasetfunction to load a dataset from name.list_datasets_namesfunction to get dataset names.to_hf_datasetmethod to convert to HuggingFaceDatasetinstance.
- AudioCaps support for version
v2. - Methods
to_dictandto_listto datasets classes.
- Rename AudioCaps v1
train_v2subset totrain_fixedto avoid confusion with AudioCaps v2trainsubset. - Rename WavCaps
audioset_no_audiocapssubset toaudioset_no_audiocaps_v1to specify which AudioCaps version is excluded.
- Remove invalid warning when using WavCaps subset
freesound_no_clotho_v2. - Download link for AudioCaps V1 subset
train_fixed.
- Remove subset
freesound_no_clothofor WavCaps since it is confusing withfreesound_no_clotho_v2and should not be used.
freesound_no_clotho_v2subset to WavCaps to avoid all bias with Clotho test and analysis subsets.
- WavCaps download preparation (#3).
safe_rmdirfunction when sub-directories are deleted.
- Update typing for paths with python class
Path. - Refactor functional interface to load raw metadata for each dataset.
- Refactor class variables to init arguments.
- Faster AudioCaps download with
ThreadPoolExecutor.
AudioCaps.DOWNLOAD_AUDIOclass variable for compatibility with audiocaps-download 1.0.
- Set log level to WARNING if verbose<=0 in check.py and download.py scripts.
- Use
yt-dlpinstead ofyoutube-dlas backend to download AudioCaps audio files.. (#1) - Update default download message for AudioCaps. (#1)
- Update error message when checksum is invalid for Clotho and MACS datasets. (#2)
- First experimental implementation of WavCaps dataset.
- Subsets
dcase_t2a_audioanddcase_t2a_captionsfrom the DCASE Challenge task 6b, in Clotho dataset. - Subset
train_v2for AudioCaps dataset. - Dataset cards as separate dataclasses for each dataset.
- Get and set global user paths for root, ffmpeg and ytdl.
- Base class for all datasets to simplify manipulation of loaded data.
- Rename
testsubset todcase_aac_test,analysissubset todcase_aac_analysisfrom the DCASE Challenge task 6a, in Clotho dataset. - Function
get_install_infonow returnspackage_path.
- Script check.py now check if the audio files exists.
- Option
VERIFY_FILESfor Clotho and MACS datasets to validate checksums. CITATIONglobal constant for each dataset.
- Methods
atandgetitemnow use correct typing when passing an integer, list, slice or None values.
- Python minimal version in README and pyproject.toml.
- Transform applied in
getitemmethod when argument is not an integer. - Incompatibility with
torchaudio>=2.0. - Remove 'tags' from AudioCaps columns when with_tags=False.
AudioCaps.load_class_labels_indicesto load AudioSet classes map externally.- Compatibility and tests from Python 3.7 to 3.10.
- Attributes in datasets classes are now weakly private.
- Documentation theme and descriptions.
- Workflow badge with Github changes. (badges/shields#8671)
- AudioCaps, Clotho and MACS order are now defined by their order in the corresponding captions CSV files when available.
- Update documentation usage and main page.
- Workflow when requirements cache is invalid.
- Add
column_names,infoandshapeproperties in datasets. - Add
is_loadedandset_transformmethods in datasets. - Add column argument for method
getitemin datasets. - Entrypoints for command line scripts
aac-datasets-check,aac-datasets-downloadandaac-datasets-info.
- Enforce datasets order to sort by filename to avoid different orders returned by
os.listdir. - Function
check_directorynow returns the length of each dataset found in directory. - Rename
get_fieldmethods in datasets byatand add support for Iterable of keys and None key. - Change
atarguments order and names. - Split
BasicCollateinto 2 classes:BasicCollatewithout padding andAdvancedCollatewith padding options. - Weak private methods are now strongly private in datasets.
- Rename
item_transformtotransformin datasets. - Rename
load_tagstowith_tagsinAudioCaps.
- AudioCaps loading when
with_tagsis False. - Clotho files download.
- CHANGELOG file.
- First version of the API documentation.
- Supports slicing and list indexing for the three datasets.
- Competence values for MACS annotators.
- Fields scene_label and identifier from TAU Urban acoustic scene dataset in MACS.
- Add
examples/dataloader.ipynbnotebook.
- Update README with PyPI install and software citation.
- Download functions returns the datasets downloaded.
- MACS now have a subset parameter.
- Underscores in functions names to avoid import private functions.
- Function
aac_datasets.check.check_directorynow returns only the list of subsets loaded. - Replace function
torchaudio.datasets.utils.download_urlbytorch.hub.download_url_to_fileto keep compatibility with future torchaudio version v0.12. - Rename
get_rawmethods in datasets byget_fieldand add support for slicing and multi-indexing.
- LICENCE.txt and MACS_competence.yaml download for MACS dataset.
- Clotho download archives files.
- Transforms dictionary in datasets.
- Argument item_type in datasets.
- Method
getin datasets.
- CITATION file.
- MACS now downloads only the required TAU Urban Sound archive files.
- Documentation for arguments in dataset constructors.
- Clotho analysis subset download and preparation.
- Initial versions of Clotho, AudioCaps and MACS pytorch dataset code.
- Download and check scripts.