RFWave Jamendo 44.1 kHz
Mel-spectrogram-conditioned 44.1 kHz vocoder from the RFWave family, trained on music from the MTG-Jamendo dataset. It reconstructs a 44.1 kHz mono waveform from 100-band mel spectrograms with a rectified-flow backbone and an STFT output head.
β οΈ Code compatibility β read this first
These weights must be used together with the RFWave code at commit
28698f06b188e49bd2e112f8e9e67e777292a323(2024-11-01, "sample steps according to straightness"). The module layout and state-dict keys correspond to that revision; other revisions may fail to load withstrict=True, or may silently mismatch.git clone https://github.com/bfs18/rfwave.git cd rfwave && git checkout 28698f06b188e49bd2e112f8e9e67e777292a323
config.yamlin this repo is the config from that revision.
Files
| File | Description |
|---|---|
last.ckpt |
Original export β a plain dict {"state_dict": ...}, 104 fp32 tensors, ~20.7 M parameters (no Lightning wrapper, no optimizer state) |
config.yaml |
Full experiment config (data module, backbone, feature extractor, head) |
Architecture
From config.yaml:
- Experiment:
rfwave.experiment_reflow_subband.VocosExp - Backbone:
VocosRFBackboneβdim=512,intermediate_dim=1536,num_layers=8,num_bands=8,input_channels=100,output_channels=288, Fourier features withpe_scale=1000 - Conditioning:
MelSpectrogramFeaturesβn_fft=2048,hop_length=512,n_mels=100,padding=center,sample_rate=44100 - Head:
RFSTFTHeadβn_fft=2048,hop_length=512,dim=1024,padding=center - Sampling rate: 44 100 Hz, mono
- Training: rectified flow,
p_uncond=0.1, inference guidance2.0
Training data: MTG-Jamendo (music) at 44.1 kHz.
Usage
import torch
ckpt = torch.load("last.ckpt", map_location="cpu", weights_only=True)
state_dict = ckpt["state_dict"] # 104 tensors
# instantiate rfwave.experiment_reflow_subband.VocosExp from config.yaml (commit 28698f0),
# then:
# model.load_state_dict(state_dict, strict=True)
License
BSD, matching the RFWave project.
- Downloads last month
- 27