huri-module-emo
Speech emotion from prosody (wav2vec2 classifier), and its aggregator.
| Module | Topics | What it does |
|---|---|---|
emo |
huri.voice → huri.emotion |
Estimates the emotion of speech from its prosody |
eag |
huri.emotion → huri.partial_question |
Aggregates emotion estimates over an utterance |
pip install -e 'packages/huri-module-emo[model]' # from a huri-modules checkout, next to huri-core and huri-events
HURI_MODULES=emo,eag ... # enable it on the server
emo needs the model extra (torch and transformers, for its wav2vec2
classifier); eag only aggregates events and needs none of it, so a host that
runs eag alone installs the package without the extra
([tool.huri-modules.extras] in pyproject.toml says which module needs which
extra; huri hub install and scripts/install_local.sh add it). Hardware pins
of emo: requirements-<variant>.emo.txt (cpu, nvidia, amd; install them
before the package).
A distribution of
huri-modules, versioned in its
pyproject.toml (see RELEASING.md there). It depends on huri-core and
huri-events, which are not on PyPI: without a checkout, install them from git
in the same pip command, so pip never looks them up on an index:
ref=0.1.0 # a huri-modules release tag
core=0.4.0 # HURI_CORE_REF in that release's versions.env
pip install \
"huri-core[server] @ git+https://github.com/Lucy-Robotics/huri-core.git@$core" \
"huri-events @ git+https://github.com/Lucy-Robotics/huri-modules.git@$ref#subdirectory=packages/huri-events" \
"huri-module-emo[model] @ git+https://github.com/Lucy-Robotics/huri-modules.git@$ref#subdirectory=packages/huri-module-emo"
Metadata
Release files for huri-module-emo 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| huri_module_emo-0.1.0.tar.gz | 5.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| huri_module_emo-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.0 kB
Release files / huri_module_emo-0.1.0.tar.gz
| Download URL | huri_module_emo-0.1.0.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
713154b0055fa49facdf0e8bfffafa814a28b8a87a947cf609be1ea16bc5d1a0
|
|
BLAKE2b-256 checksum How to use checksums |
1fd2b2223b598d5976102ffd4f04ae2715767681e6f63ea2f3cdc2850eb0caf7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Release files / huri_module_emo-0.1.0-py3-none-any.whl
| Download URL | huri_module_emo-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cfd6ab151778d1974e92a1047f6cf09c169865db26884b12af5ab16ddaf39ff0
|
|
BLAKE2b-256 checksum How to use checksums |
6624dd04c55f90a9b65facb700341fd36f8918539e3e1d24deebc6d06f642e06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|