Giter Club home page Giter Club logo

Comments (7)

azraelkuan avatar azraelkuan commented on June 11, 2024

in training, we also have three resnetblock 3, 7, 11, but in inference, we will fuse three kernel size into one, 11, u can check the inference function in rep_conv

from repgan.

hdmjdp avatar hdmjdp commented on June 11, 2024

in training, we also have three resnetblock 3, 7, 11, but in inference, we will fuse three kernel size into one, 11, u can check the inference function in rep_conv

ok, thanks, I will check it.

from repgan.

hdmjdp avatar hdmjdp commented on June 11, 2024

@azraelkuan do it this way, whether training and inference exist gap?

from repgan.

azraelkuan avatar azraelkuan commented on June 11, 2024

no quality gap, the weight is equal in training and inference

from repgan.

hdmjdp avatar hdmjdp commented on June 11, 2024

@azraelkuan thanks, another question, you generator does not have skip connetction(residual connect). This is different from hifigan, without it, does quailty decay?

def forward(self, x):
        x = self.input_conv(x)

        for i in range(len(self.upsamples)):
            x = self.upsamples[i](x)
            if self.training:
                x = self.blocks[i](x)
            else:
                x = self.blocks[i].inference(x)
            x = self.non_linear(x)
        x = self.output_conv(x)
        return 

and in repconv

def forward(self, x: torch.Tensor) -> torch.Tensor:
        for idx in range(len(self.convs1)):
            x = self.act(x)
            x = self.convs1[idx](x)
            if self.use_additional_convs:
                x = self.act(x)
                x = self.convs2[idx](x)
        return x

and resblock_dilations is different, origin len is 3, but yours is 4

from repgan.

azraelkuan avatar azraelkuan commented on June 11, 2024

check this:

return x + sum(conv_outputs) / len(self.convs)

image

from repgan.

hdmjdp avatar hdmjdp commented on June 11, 2024

Thank you very much!

from repgan.

Related Issues (5)

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.