Coder Social home page Coder Social logo

Questions about PSPNet. about pspnet HOT 6 OPEN

kazucmpt avatar kazucmpt commented on July 25, 2024 6
Questions about PSPNet.

from pspnet.

Comments (6)

lxtGH avatar lxtGH commented on July 25, 2024 4

The output of segmentation map is 1/8 and use bilinear upsampling to recover the original size.

from pspnet.

shentanyue avatar shentanyue commented on July 25, 2024 2

I have same question.

from pspnet.

alexcekay avatar alexcekay commented on July 25, 2024 1

Hi there,

But I think the feature map size is 1/16 when you use ResNet50. Do you use only first 3 blocks of ResNet50?

To get 1/8 of the input size don't use a simple ResNet. You should use a DilatedResnet (https://arxiv.org/abs/1705.09914)

But after that, the image size is 1/8 of the input image. How did you resize them to the same image size as input image?

Yeah you're right there. Thats definitely not described well in the paper. For my implementation i did the following: Upscale all the pooling layers so that they have the same width/height as the output of the dilated resnet. Then concat them all. Add two convs and then upsample this 8 times to get the original image size

from pspnet.

qizhuli avatar qizhuli commented on July 25, 2024 1

@kazucmpt @shentanyue These are probably best clarified by referring to the official code. (And a good thing about Caffe is that the network architecture is fully and clearly laid out in a human-friendly text file ;P)

In the very end of their provided network definition files (see evaluation/prototxt directory), you will see that their networks are terminated with an Interp layer that upsamples the bottom blob by 8 times spatially:

layer {
  name: "conv6_interp"
  type: "Interp"
  bottom: "conv6"
  top: "conv6_interp"
  interp_param {
    zoom_factor: 8
  }
}

And if you would like more details on the Interp layer, you can check out its source code.

from pspnet.

allendred avatar allendred commented on July 25, 2024

Would the upsample layer replace interp layer ?
My device do not support it.

from pspnet.

Abhishek2028 avatar Abhishek2028 commented on July 25, 2024

Hi, Here in this architecture we created bins of sizes 1x1x512->1x1x1, 2x2x1, 3x3x1, 6x6x1.
1/8 of original feature map is 28.
How to Upsample features from 3x3 to 28x28. I tried with so many integer values. How to do upsampling

from pspnet.

Related Issues (20)

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.