Code Monkey home page Code Monkey logo

Comments (3)

yluo42 avatar yluo42 commented on September 4, 2024 1

Yes it is something like that.

from tac.

yluo42 avatar yluo42 commented on September 4, 2024

No it's not completely the same as the problem definition of TasNet and FaSNet are different: TasNet attempts to estimate multiplicative masks on the encoder outputs, while FaSNet attempts to estimate the time-domain beamforming filter coefficients. The gated output layer is only applied for FaSNet to ensure the dynamic range of the estimated beamforming filters is between -1 and 1, but empirically removing the gating layer or even using a linear output layer should have a similar (or same) performance.

In DPRNN-TasNet the output layer is simply self.output without the gating layer, and the nonlinearity for the output layer can be either Sigmoid or ReLU (empirically ReLU might be better).

from tac.

tky823 avatar tky823 commented on September 4, 2024

Thanks! I will read the FaSNet paper.
So, the network architecture of DPRNN-TasNet is like

class DPRNNTasNet(...):
    def __init__(...):
        ...
        self.encoder = nn.Conv1d(...)
        self.enc_LN = nn.GroupNorm(...) # Layer normalization
        self.BN = nn.Conv1d(...) # Bottleneck convolution.
        self.DPRNN = DPRNN(...) # includes nn.PReLU() and nn.Conv2d(...) for mask estimation
        self.output = nn.Sequential(nn.Conv1d(...), nn.ReLU()) # empirically better
        # or self.output = nn.Sequential(nn.Conv1d(...), nn.Sigmoid())
        self.decoder = nn.ConvTranspose1d(...)

Do I understand your explanation correctly?

from tac.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.