An audio captioning plugin based on LP-MusicCaps.
Project description
Nendo Plugin Caption LP-MusicCaps
An audio captioning plugin based on LP-MusicCaps.
Features
- Generate captions for all types of audio
- Caption your audio library and make it searchable by using the other nendo search plugins
Requirements
This plugin requires the manual installation of the LP-MusicCaps
repository from git, run:
git clone https://github.com/seungheondoh/lp-music-caps.git
cd lp-music-caps
pip install -e .
For more information, please refer to the LP-MusicCaps repository.
Installation
- Install Nendo
pip install nendo-plugin-caption-lpmusiccaps
Usage
Take a look at a basic usage example below. For more detailed information, please refer to the documentation.
>>> from nendo import Nendo
>>> nd = Nendo(plugins=["nendo_plugin_caption_lpmusiccaps"])
>>> track = nd.library.add_track(file_path="path/to/file.mp3")
>>> nd.plugins.caption_lpmusiccaps(track=track)
>>> track.get_plugin_value("caption")
Contributing
Visit our docs to learn all about how to contribute to Nendo: Contributing
License
Nendo: MIT License
LP-MusicCaps: CC-BY-NC 4.0 license.
Pretrained models: The weights are released under the CC-BY-NC 4.0 license
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for nendo_plugin_caption_lpmusiccaps-0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc48e949d7f35732f88a9606b09fc50233c13dd437abe0cc1a692a9587ee111f |
|
MD5 | 080683888e0d221ce92c378d1ea7fce6 |
|
BLAKE2b-256 | 402a5d2d6d0a126946966eeb56ba42c699bf2df36181d21bb54e899a7a4881dc |
Close
Hashes for nendo_plugin_caption_lpmusiccaps-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bd85689f37624688032eb53fb03f272df87e5dd96164ce2d6bf521453ad6d3e |
|
MD5 | 1b41c83e7960ee03d2110abefad0e195 |
|
BLAKE2b-256 | f33ab6ca66fa35f430e1691b3b7f8ebc4ff32e5c4842f10ebc8786e84e6a5cf1 |