Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.1.2 #47

Merged
merged 40 commits into from
Jun 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
608495a
Added abstract data type for Audio and an AudioDataset that allows fo…
wilke0818 May 31, 2024
f908a40
Initiate speaker diarization
ibevers May 9, 2024
6ae0b7d
Add working non-optimized diarization code
ibevers May 14, 2024
798184c
Add todo notes
ibevers May 14, 2024
11e0e7a
Add buggy map to pyannote 3.1 diarization
ibevers May 21, 2024
6962372
pyannote wip
fabiocat93 May 21, 2024
88cea40
functioning example of diarization with pyannote (to be cleaned)
fabiocat93 May 21, 2024
8083df5
adding functioning example from huggingface
fabiocat93 May 21, 2024
7e84f31
Clean up diarization code
ibevers May 21, 2024
ac1cab1
Remove other-row diarizations from output
ibevers May 22, 2024
8e48ea7
Add batching and fix issue with all segments in return
ibevers May 23, 2024
0f7e7df
Clean up and comment in Google style
ibevers May 24, 2024
25cf6fa
Add pydra version of pyannote diarize 3.1
ibevers May 24, 2024
df1052c
Update header comment
ibevers May 24, 2024
842d8c7
Fix formatting and type issues
ibevers May 28, 2024
3f56932
Add model name and revision to args
ibevers May 28, 2024
c38cdcb
Audio data types and reimplmentations of preprocessing and data augme…
wilke0818 Jun 2, 2024
2f078dd
Make fixes for automatic testing and good code practices
wilke0818 Jun 3, 2024
c03fd19
preparing for merging to main
fabiocat93 Jun 3, 2024
c0ad6ac
Merge remote-tracking branch 'origin/main' into audio_abstract_dtype
fabiocat93 Jun 3, 2024
d549f48
Merge branch 'audio_abstract_dtype' of https://github.com/sensein/sen…
fabiocat93 Jun 3, 2024
3e2e6b6
fixing codespell config
fabiocat93 Jun 3, 2024
9993456
adding speech to text evaluation task
fabiocat93 Jun 3, 2024
62a88aa
adding cca and cka functions
fabiocat93 Jun 3, 2024
97e6102
adding cosine similarity function
fabiocat93 Jun 3, 2024
31466dd
adding cross correlation
fabiocat93 Jun 3, 2024
4790680
adding eer function
fabiocat93 Jun 3, 2024
710e2d1
fixing spell issue
fabiocat93 Jun 3, 2024
0291061
fixing typing issue
fabiocat93 Jun 3, 2024
a74517e
adding preprocessing functions
fabiocat93 Jun 3, 2024
66ff00b
treating cka kernels with enum
fabiocat93 Jun 3, 2024
3ba1620
fixing style issues
fabiocat93 Jun 4, 2024
66c646b
Merge pull request #48 from sensein/utility_functions
fabiocat93 Jun 4, 2024
7083fac
adding some more API classes (participant, session, dataset)
fabiocat93 Jun 4, 2024
a27e7d0
Reorganized Audio and created more general dataset object
wilke0818 Jun 4, 2024
570457b
updating dependencies and CI workflow (exploring step retry with unit…
fabiocat93 Jun 5, 2024
ff3170d
fixing github CI
fabiocat93 Jun 5, 2024
29b4dfc
Merge pull request #50 from sensein/utility_functions
fabiocat93 Jun 5, 2024
060c9b6
Fixing Fabio's comments from PR w/ Fabio
wilke0818 Jun 5, 2024
e95f8ec
Removed function calling delted function
wilke0818 Jun 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ repos:
hooks:
- id: mypy
args: [--ignore-missing-imports]
additional_dependencies:
- pydantic>=1.10.4
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.12.0
hooks:
Expand Down Expand Up @@ -54,6 +56,8 @@ repos:
rev: v2.3.0
hooks:
- id: codespell
additional_dependencies:
- tomli

- repo: https://github.com/hija/clean-dotenv
rev: v0.0.7
Expand Down
573 changes: 426 additions & 147 deletions poetry.lock

Large diffs are not rendered by default.

23 changes: 14 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "senselab"
version = "0.1.2.dev23+c952ded"
version = "0.0.1"
description = "Senselab is a Python package that simplifies building pipelines for speech and voice analysis."
authors = [
"Fabio Catania <[email protected]>",
Expand Down Expand Up @@ -28,7 +28,7 @@ packages = [{include = "senselab", from = "src"}]
python = "^3.10"
click = "^8.1.7"
jsonschema = "^4.21.1"
datasets = "^2.18.0"
datasets = "^2.19.2"
torch = "^2.2.2"
torchvision = "^0.17.2"
torchaudio = "^2.2.2"
Expand All @@ -38,21 +38,23 @@ soundfile = "^0.12.1"
ffmpeg-python = "^0.2.0"
ipykernel = "^6.29.4"
pydra = "^0.23"
pydantic = "^2.7.1"
pydantic = "^2.7.3"
accelerate = "^0.29.3"
huggingface-hub = "^0.23.0"
huggingface-hub = "^0.23.3"
praat-parselmouth = "^0.4.3"
iso-639 = {git = "https://github.com/noumar/iso639.git", tag = "0.4.5"}
opensmile = "^2.5.0"
audiomentations = "^0.35.0"
torch-audiomentations = "^0.11.1"
sentence-transformers = "^2.7.0"
jiwer = "^3.0.4"
speechbrain = "^1.0.0"

[tool.poetry.group.dev]
optional = true

[tool.poetry.group.dev.dependencies]
pytest = "^8.1.1"
pytest = "^8.2.2"
pytest-mock = "^3.14.0"
mypy = "^1.9.0"
pre-commit = "^3.7.0"
Expand All @@ -79,6 +81,9 @@ testpaths = [

[tool.mypy]
ignore_missing_imports = true
plugins = [
"pydantic.mypy"
]

[tool.ruff]
exclude = [
Expand All @@ -104,7 +109,7 @@ exclude = [
"node_modules",
"venv"
]
line-length = 80
line-length = 120
indent-width = 4
src = ["src"]
target-version = "py310"
Expand Down Expand Up @@ -140,10 +145,10 @@ pattern = "default-unprefixed"

[tool.codespell]
skip = [
"./poetry.lock",
"./docs_style/pdoc-theme/syntax-highlighting.css"
"poetry.lock",
"docs_style/pdoc-theme/syntax-highlighting.css"
]
ignore-words-list = ["senselab"]
ignore-words-list = ["senselab", "nd", "astroid", "wil"]

[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
Expand Down
170 changes: 0 additions & 170 deletions scripts/experiment1.py

This file was deleted.

46 changes: 0 additions & 46 deletions scripts/experiment2.py

This file was deleted.

9 changes: 0 additions & 9 deletions scripts/experiment3.py

This file was deleted.

17 changes: 0 additions & 17 deletions scripts/experiment4.py

This file was deleted.

43 changes: 0 additions & 43 deletions scripts/experiment5.py

This file was deleted.

Loading
Loading