question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can we had n_filters to BaseDCUNet ?

See original GitHub issue

❓ BaseDCUNet and DCCRN:

In the BaseDCUNet class which is also used for DCCRNet we assume that n_filters=stft_kernel_size.

 def __init__(
        self,
        architecture,
        stft_kernel_size=512,
        stft_stride=None,
        sample_rate=16000.0,
        **masknet_kwargs,
    ):
        self.architecture = architecture
        self.stft_kernel_size = stft_kernel_size
        self.stft_stride = stft_stride
        self.masknet_kwargs = masknet_kwargs

        encoder, decoder = make_enc_dec(
            "stft",
            kernel_size=stft_kernel_size,
            n_filters=stft_kernel_size,
            stride=stft_stride,
            sample_rate=sample_rate,
        )

In the DCCRN paper it’s said

3.2. Training setup and baselines For all of the models, the window length and hop size are 25 msand 6.25 ms, and the FFT length is 512.

To match the paper design, can we add n_filters as an argument of BaseDCUNet ?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:9

github_iconTop GitHub Comments

2reactions
mparientecommented, Jan 5, 2021

Let’s start with adding stft_n_filters only because it’s backward compatible. We’ll see later about adding fb_name, because it has other implications (as said by @JorisCos)

0reactions
mparientecommented, Feb 2, 2021

I realize now that we did neither 1 or 2. We broke backward compat with the arguments but restricted the STFT. I’ll close, because adding fb_name was not the purpose of this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Adding filter conditions (group filters) with AND and OR ...
To add multiple filters using the OR operator, create a filter group. Filter grouping is available for all types of filters in analyses....
Read more >
Filter data in a range or table - Microsoft Support
Use filters to temporarily hide some of the data in a table, so you can focus on the data you want to see....
Read more >
Create and manage view filters - Analytics Help
You can create filters at the view level that apply only to that view, and you can manage account-level filters that have been...
Read more >
Filter Data from Your Views - Tableau Help
You can also select Special to include null dates, non-null dates, or all dates. Filter table calculations. To create a table calculation filter,...
Read more >
Apply filters - Adobe Photoshop
Note the Smart Filter that's attached to your image layer in the Layers panel. This allows you to flexibly edit the filter settings....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found