Skip to content

Regressive Mimi approach for bandwidth extension#61

Merged
jhauret merged 21 commits intomainfrom
regressive_mimi
Jun 16, 2025
Merged

Regressive Mimi approach for bandwidth extension#61
jhauret merged 21 commits intomainfrom
regressive_mimi

Conversation

@jhauret
Copy link
Copy Markdown
Owner

@jhauret jhauret commented Jun 11, 2025

No description provided.

@jhauret jhauret requested a review from Copilot June 16, 2025 04:17

This comment was marked as outdated.

@jhauret jhauret marked this pull request as ready for review June 16, 2025 04:23
@jhauret jhauret requested a review from Copilot June 16, 2025 04:23
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements changes to support a new bandwidth extension model (“Regressive Mimi”) while refactoring existing modules to inline metric definitions. Key changes include:

  • Updating wav2vec2_for_stp.py to replace external metrics with an inline MetricCollection using CharErrorRate.
  • Adding a new RegressiveMimiLightningModule in regressive_mimi.py to support the new model.
  • Refactoring ecapa2.py and various configuration files to remove or consolidate metrics definitions.

Reviewed Changes

Copilot reviewed 16 out of 16 changed files in this pull request and generated no comments.

Show a summary per file
File Description
vibravox/lightning_modules/wav2vec2_for_stp.py Removed the metrics parameter and replaced it with an inline MetricCollection using CharErrorRate.
vibravox/lightning_modules/regressive_mimi.py Introduces the new RegressiveMimiLightningModule with custom training and evaluation steps.
vibravox/lightning_modules/ecapa2.py Updated metrics instantiation with a new MetricCollection; potential missing import.
vibravox/lightning_modules/base_se.py Added helper methods and logging updates for evaluation steps.
vibravox/lightning_datamodules/spkv.py Fixed a formatting error in the dataset name list.
run.py Removed redundant metrics instantiation and adjusted module instantiation.
Various configs (run.yaml, metrics/*, callbacks, README) Removed old metrics configurations, added a new config for regressive_mimi, and updated documentation.
Comments suppressed due to low confidence (1)

vibravox/lightning_modules/ecapa2.py:43

  • MetricCollection is used in this file but there is no explicit import for it. Please add "from torchmetrics import MetricCollection" at the top of this file to avoid potential runtime errors.
self.metrics = MetricCollection(

@jhauret jhauret merged commit cba3e57 into main Jun 16, 2025
1 check passed
@jhauret jhauret deleted the regressive_mimi branch June 16, 2025 04:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants