-
Notifications
You must be signed in to change notification settings - Fork 418
Description
I have a python app that uses deepfilternet and works ok locally.
When I hit the deepfilternet functions, I got this warning:
...\.venv\Lib\site-packages\df\io.py:9: UserWarning: torchaudio.backend.common.AudioMetaData has been moved to
torchaudio.AudioMetaData.
Please update the import path.
But it works anyway.
But when moving my app to docker. I am getting the error:
from torchaudio.backend.common import AudioMetaData
ModuleNotFoundError: No module named 'torchaudio.backend'
Here is the docker command I use to install :
RUN pip install --no-cache-dir deepfilternet
I asked for help to an AI. And I got the following explanation:
The issue you're experiencing occurs because DeepFilterNet is using an outdated import path for torchaudio that worked locally due to Python's dynamic import resolution.
So after reviewing the project. I think this is already fixed on ´DeepFilterNet/df/io.py ´ But a new version has not been released after v5.0.6
I would like to gently ask if you can release a new version that could include this fix. Meanwhile I will have to patch my project, so I can make it work on docker.