Rikorose / DeepFilterNet

Noise supression using deep filtering
https://huggingface.co/spaces/hshr/DeepFilterNet2
Other
2.17k stars 203 forks source link

Allow JIT compiled deepfiltermodel3 to work in training #475

Closed mattpitkin closed 6 months ago

mattpitkin commented 7 months ago

When I try turning on JIT compilation of the deepfilternet3 model during training it fails to compile the model. This seems to be due to two things:

This PR fixes both of these things.

The change in multiframe.py does assume that the coefs tensor always has 4 dimension, so if that's not the case then a slight change will be required.

Rikorose commented 7 months ago

I think it can be assumed that coefs is a 4D tensor. Could you fix the formatting, so I can merge?

mattpitkin commented 7 months ago

I've fixed the black formatting, so hopefully all the CI tests should pass this time,

Rikorose commented 6 months ago

Thanks