Git Product home page Git Product logo

Comments (7)

sunpeng1996 avatar sunpeng1996 commented on August 14, 2024 4

Can you provide the linkNet prototxt for training? Thanks a lot.@vishnureghu007

from linknet.

codeAC29 avatar codeAC29 commented on August 14, 2024
  1. There are 5 downsampling convnets but there is a maxpool layer in the beginning. That is why there is an extra upsampling layer.
  2. I ran ~200 epochs but never more than 300.
  3. Input of each encoder has same resolution as output of corresponding decoder. So you do not need to crop. Or are you talking about padding the convolution layers?

@vishnureghu007 thank you for this and let me know if you need any other help.

from linknet.

vishnureghu007 avatar vishnureghu007 commented on August 14, 2024

you have mentioned in BlogSpot that "The first encoder block does not perform strided convolution and every convolution layer is followed by batch-normalization and ReLU as non-linearity"
1)so does it mean that first encoder block doesn't downscales input by 2, if It does then no of up sampling will be equal to no of down sampling.
3)From my understanding of the design of network the spatialfullconvolution (upsampling*2) will result in one row-column less than encoder output so to match you gave the value of 1 in adjs.

nn.SpatialFullConvolution(iFeatures, oFeatures, 3, 3, stride, stride, 1, 1, adjS, adjS)
From torch 7 doc:
adjW : Extra width to add to the output image. Default is 0 . Cannot be greater than dW-1.
adjH : Extra height to add to the output image. Default is 0 . Cannot be greater than dH-1
In caffe I didn't find such a facility, so i used crop layer.
Please validate my changes to the network.

from linknet.

codeAC29 avatar codeAC29 commented on August 14, 2024
  1. there is no downsampling done in first encoder block and therefore no upsampling done in its corresponding decoder block.
  2. You are right and if there is no way to adjust the output in caffee then you can try cropping.

from linknet.

vishnureghu007 avatar vishnureghu007 commented on August 14, 2024

thanks a lot. :)

from linknet.

vishnureghu007 avatar vishnureghu007 commented on August 14, 2024

loss not converging after 50-100 epochs.
capture
have doubt in my encoder block.
Could you please check this.

from linknet.

codeAC29 avatar codeAC29 commented on August 14, 2024

Encoder block looks ok to me. What about the learning rate and optimizer?

from linknet.

Related Issues (15)

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.