LibreAI / AI Music / torch-log-wmse
// ai-music Β· crlandsc/torch-log-wmse

torch-log-wmse

An audio quality metric and loss for training cleaner models.

πŸ’Ž Hidden gemβ˜… 50 starsβ‘‚ 1 forksApache-2.0updated 2026-09
β–¦ visual β€” this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

torch-log-wmse is an open-source ai music project by crlandsc (crlandsc/torch-log-wmse on GitHub). It has 50 GitHub stars and 1 forks, is released under the Apache-2.0 license, and was last updated on GitHub on 1 September 2026.

GitHub stars
50
Forks
1
License
Apache-2.0
Last updated on GitHub
1 September 2026
Category
AI Music
Listing
Hidden gem β€” a shorter page for a lesser-known project
Official site
GitHub
// how it works

How it works

  1. Install the package

    Add it to your training environment.

  2. Import logWMSE

    Use it as a loss or metric.

  3. Handle silence targets

    Configure digital-silence behavior.

  4. Train and evaluate

    Optimize your audio model with it.

// features

Why people love it

logWMSE metric

Audio quality measurement in PyTorch.

Loss function

Train directly against it.

Silence targets

Handles digital silence correctly.

Denoising ready

Built for enhancement tasks.

Separation support

Works for source-separation training.

Apache-2.0

Free for research and products.

Advertisement
// run it

Run it yourself

  1. Step 1 β€” Clone the repo

    Download the source and enter the folder.

    git clone https://github.com/crlandsc/torch-log-wmse.git
    cd torch-log-wmse
  2. Step 2 β€” Install it

    Install the Python package.

    pip install -e .
  3. Step 3 β€” Use in training

    Import logWMSE in your loop.

    python -c "import torch_log_wmse; print(torch_log_wmse.__file__)"
// use cases

What you can build

Advertisement
// faq

Questions, answered

What is torch-log-wmse?

logWMSE, an audio quality metric and loss function for PyTorch, at crlandsc/torch-log-wmse.

What is it for?

Training and evaluating audio models like denoisers and separators.

What are digital-silence targets?

Training targets where the correct output is silence; the metric handles them properly.

Is it free?

Yes. Apache-2.0 licensed.

Who should use it?

Audio ML researchers and engineers training enhancement models.

// keep exploring

Similar tools

Audio

pyannote-audio

Neural building blocks for speaker diarization: speech activity detection, speaker change detection, overlapped speech detection, speaker embedding

β˜… 10.6k starsMIT
View guide β†’
Audio

AudioCraft

Audiocraft is a library for audio processing and generation with deep learning. It features the state-of-the-art EnCodec audio…

β˜… 23.7k starsMIT
View guide β†’
AI Music

HS-TasNet

Real-time, low-latency music source separation in PyTorch.

β˜… 112 starsMIT
View guide β†’
AI Music

torch-l1-snr

Loss functions for training audio source separation models.

β˜… 45 starsMIT
View guide β†’
AI Music

tadpole-studio

Friendly front-end for local AI music models, packed with quality-of-life touches.

β˜… 79 starsMIT
View guide β†’
AI Music

Tegridy-MIDI-Dataset

A curated MIDI dataset built for training precise music AI models.

β˜… 296 starsApache-2.0
View guide β†’
// alternatives

Alternatives in AI Music

The most-starred other AI Music projects in the LibreAI catalogue β€” the realistic shortlist if torch-log-wmse is not the right fit.

Get torch-log-wmse

Free and open β€” grab the source, star the repo, and start creating.