معرفی شرکت ها


audiocaps-download-1.0.1


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

This package aims at simplifying the download of the AudioCaps dataset.
ویژگی مقدار
سیستم عامل -
نام فایل audiocaps-download-1.0.1
نام audiocaps-download
نسخه کتابخانه 1.0.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Moreno La Quatra
ایمیل نویسنده moreno.laquatra@gmail.com
آدرس صفحه اصلی https://github.com/MorenoLaQuatra/audiocaps-download
آدرس اینترنتی https://pypi.org/project/audiocaps-download/
مجوز -
# AudioCaps Download **DISCLAIMER: This repository is a modified version of the [AudioSet Download](https://github.com/MorenoLaQuatra/audioset-download) repository.** This repository contains code for downloading the [AudioCaps](https://github.com/cdjkim/audiocaps) dataset. The repository is **not officially affiliated** with the AudioCaps dataset. ## Requirements * Python 3.9 (it may work with other versions, but it has not been tested) ## Installation ```bash # Install ffmpeg sudo apt install ffmpeg # Install audiocaps-download pip install audiocaps-download ``` ## Usage The following code snippet downloads the complete dataset in WAV format, and stores it in the `test` directory. ```python from audiocaps_download import Downloader d = Downloader(root_path='audiocaps/', n_jobs=16) d.download(format = 'wav') ``` ## Implementation The main class is `audiocaps_download.Downloader`. It is initialized using the following parameters: * `root_path`: the path to the directory where the dataset will be downloaded. * `n_jobs`: the number of parallel downloads. Default is 1. The methods of the class are: * `download(format='vorbis', quality=5)`: downloads the dataset. * The format can be one of the following (supported by [yt-dlp](https://github.com/yt-dlp/yt-dlp#post-processing-options) `--audio-format` parameter): * `vorbis`: downloads the dataset in Ogg Vorbis format. This is the default. * `wav`: downloads the dataset in WAV format. * `mp3`: downloads the dataset in MP3 format. * `m4a`: downloads the dataset in M4A format. * `flac`: downloads the dataset in FLAC format. * `opus`: downloads the dataset in Opus format. * `webm`: downloads the dataset in WebM format. * ... and many more. * The quality can be an integer between 0 and 10. Default is 5. * `load_dataset()`: reads the csv files from the original repository. It is not used externally. * `download_file(...)`: downloads a single file. It is not used externally.


نیازمندی

مقدار نام
- joblib
- pandas
- yt-dlp
>=3.7 pytest


نحوه نصب


نصب پکیج whl audiocaps-download-1.0.1:

    pip install audiocaps-download-1.0.1.whl


نصب پکیج tar.gz audiocaps-download-1.0.1:

    pip install audiocaps-download-1.0.1.tar.gz