Giter Site home page Giter Site logo

level_5 module about pynet HOT 2 CLOSED

aiff22 avatar aiff22 commented on July 29, 2024 1
level_5 module

from pynet.

Comments (2)

Jam-G avatar Jam-G commented on July 29, 2024

@DxqS The code you shown in the second picture, is pytorch implementation of PyNET,and the tensorflow implementation of PyNET is same to the description in papers.

And I checked the pytorch implementation of PyNET , the autor @aiff22 modified the model exactly and declared three major modifications.
But he didn't mention the modifications about dropping the skip connections of level5.
If @aiff22 have tried such modifications and it has better effects? or just omitted?
It confused me too.

from pynet.

aiff22 avatar aiff22 commented on July 29, 2024

Hi @DxqS, @Jam-G,

The right one is in the paper and in this repository. In the PyTorch repository, it was just omitted by mistake. You can add skip-connections in the 5th level by changing the above code to:

 def level_5(self, pool4):

        conv_l5_d1 = self.conv_l5_d1(pool4)
        conv_l5_d2 = self.conv_l5_d2(conv_l5_d1) + conv_l5_d1
        conv_l5_d3 = self.conv_l5_d3(conv_l5_d2) + conv_l5_d2
        conv_l5_d4 = self.conv_l5_d4(conv_l5_d3)

        conv_t4a = self.conv_t4a(conv_l5_d4)
        conv_t4b = self.conv_t4b(conv_l5_d4)

        conv_l5_out = self.conv_l5_out(conv_l5_d4)
        output_l5 = self.output_l5(conv_l5_out)

        return output_l5, conv_t4a, conv_t4b

from pynet.

Related Issues (17)

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.