Coder Social home page Coder Social logo

Initial image size about pspnet-pytorch HOT 5 CLOSED

lextal avatar lextal commented on August 24, 2024
Initial image size

from pspnet-pytorch.

Comments (5)

Lextal avatar Lextal commented on August 24, 2024

It's fully convolutional, the only requirement for an image is that it must be divisible by 8.

from pspnet-pytorch.

achaiah avatar achaiah commented on August 24, 2024

Hi, I thought so too, but it does not seem to work. If I pass in a 512x512 image I get: RuntimeError: Need input.size[1] == 2048 but got 512 instead. So something isn't completely right. Would you have any ideas?

Thanks

from pspnet-pytorch.

Tshzzz avatar Tshzzz commented on August 24, 2024

Useing resnet50 is ok.

from pspnet-pytorch.

Lextal avatar Lextal commented on August 24, 2024

It was due to the incorrect initialization of extractors. Fixed.

from pspnet-pytorch.

achaiah avatar achaiah commented on August 24, 2024

Hey thanks for fixing it! I can confirm that it now loads with resnet, however, it does not train. My loss never changes. I have many other models that train just fine with the same code so it looks like the issue is somewhere within the model. Any ideas?

Thanks

from pspnet-pytorch.

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.