[Bug]: Dereverb models fail to load in latest version (works fine in 0.37.1)

Abierto
#245 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
42/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
python, pytorch

Línea de trabajo

Reproduce la carga de dereverb_super_big_mbr_ep_346.ckpt, dereverb_echo_mbr_fused.ckpt y dereverb_big_mbr_ep_362.ckpt en la versión 0.39.1 y, después, compara el comportamiento de carga de los modelos con 0.37.1. Usa como punto de partida el error de configuración de Roformer registrado; se considera terminado cuando los tres modelos se carguen y se separen correctamente en la versión más reciente.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

bug
Describe the bug

I was testing some dereverb models in the latest version of python-audio-separator, and found that a few of them no longer work, even though they work fine in version 0.37.1.

Affected models:

dereverb_super_big_mbr_ep_346.ckpt
dereverb_echo_mbr_fused.ckpt
dereverb_big_mbr_ep_362.ckpt

Have you searched for existing issues? 🔎
  • I have searched and found no existing issues.
Screenshots or Videos

No response

Logs
--- Testing model [208]: dereverb_super_big_mbr_ep_346.ckpt ---
[2025-10-23 17:05:41,492: INFO/ForkPoolWorker-1] Separator version 0.39.1 instantiating with output_dir: download/dereverb_super_big_mbr_ep_346.ckpt_1b3aae8e4c08405590dc69e655c3ba3c, output_format: MP3
[2025-10-23 17:05:41,492: INFO/ForkPoolWorker-1] Using model directory from model_file_dir parameter: model/
[2025-10-23 17:05:41,492: INFO/ForkPoolWorker-1] Operating System: Linux #85~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 19 16:18:59 UTC 2
[2025-10-23 17:05:41,492: INFO/ForkPoolWorker-1] System: Linux Node: kumar Release: 6.8.0-85-generic Machine: x86_64 Proc: x86_64
[2025-10-23 17:05:41,492: INFO/ForkPoolWorker-1] Python Version: 3.13.8
[2025-10-23 17:05:41,492: INFO/ForkPoolWorker-1] PyTorch Version: 2.9.0+cu128
[2025-10-23 17:05:41,529: INFO/ForkPoolWorker-1] FFmpeg installed: ffmpeg version 4.4.2-0ubuntu0.22.04.1+esm10 Copyright (c) 2000-2021 the FFmpeg developers
[2025-10-23 17:05:41,530: INFO/ForkPoolWorker-1] ONNX Runtime GPU package installed with version: 1.23.0
[2025-10-23 17:05:41,530: INFO/ForkPoolWorker-1] CUDA is available in Torch, setting Torch device to CUDA
[2025-10-23 17:05:41,530: INFO/ForkPoolWorker-1] ONNXruntime has CUDAExecutionProvider available, enabling acceleration
[2025-10-23 17:05:41,530: INFO/ForkPoolWorker-1] Loading model dereverb_super_big_mbr_ep_346.ckpt...

[2025-10-23 17:08:50,164: WARNING/ForkPoolWorker-1] Could not detect model type from config or path model/dereverb_super_big_mbr_ep_346.ckpt, defaulting to bs_roformer
[2025-10-23 17:08:50,247: ERROR/ForkPoolWorker-1] Failed to instantiate Roformer model: the number of freqs in the bands must equal 1025 based on the STFT settings, but got 126. This may be due to missing parameters or configuration validation failures.
[2025-10-23 17:08:50,248: WARNING/ForkPoolWorker-1] ❌ Failed on dereverb_super_big_mbr_ep_346.ckpt: Failed to instantiate Roformer model: the number of freqs in the bands must equal 1025 based on the STFT settings, but got 126. This may be due to missing parameters or configuration validation failures.
System Info
Operating System: Ubuntu 22.04
Python version: 3.13
python-audio-separator:  0.39.1
Additional Information

Other models (non-dereverb ones) tested are working normally.

Reverting to version 0.37.1 fixes the issue completely (models load and separate correctly).

Lenguaje dominante
Python
Estrellas
1.5k
Forks
216
Merge medio
1 h
PR fusionados (30 d)
2

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de nomadkaraoke/python-audio-separator

Todos los issues de nomadkaraoke/python-audio-separator

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.