Code Monkey home page Code Monkey logo

Comments (6)

Fromandto avatar Fromandto commented on July 22, 2024 1

@rener1199

if input resolution is 473, then conv5_3_pool1/2/3/6_interp resolution is 60

60 * 8 = 480 ~= 473

that's the rule (with 7 pixels mismatch caused by padding/striding)

640 / 8 = 80 means conv5_3_pool1/2/3/6_interp should be 80 (or 81/82/79/78 depending on your network padding/striding)

from pspnet.

Fromandto avatar Fromandto commented on July 22, 2024

I believe evaluation @ 473 resolution consumes < 12gb memory

If you don't have a gpu of 12gb memory, maybe you can further reduce resolution to ~300 (like 321)

remember to modify conv5_3_pool1/2/3/6_interp accordingly

since pascal images are typically 513 resolution and this model is trained under 0.5 resolution data augmentation (according to the paper) that's around 256 resolution so i guess evaluating @ ~ 300 resolution still works. (with some performance losses).

from pspnet.

rener1199 avatar rener1199 commented on July 22, 2024

@Fromandto How to modify conv5_3_pool1/2/3/6_interp with a new size? such as 640?

from pspnet.

SMMohammadi avatar SMMohammadi commented on July 22, 2024

Hi every body,
I tried to run the code eval_all.m on a GPU with 3 GB of memory but I encountered "Out of memory error".
Did anyone run the code successfully? If the answer is yes, please explain the the steps and minimum required hardware.
If there is a way to run the code on a GPU with 3GB memory, successfully, I would appreciate if you let me know.

from pspnet.

ishann avatar ishann commented on July 22, 2024

@rener1199 If the crop size is N = 8x + 1, then conv5_3_pool1/2/3/6_interp would need to be set at x, for the model to run out of the box.

from pspnet.

AI-liu avatar AI-liu commented on July 22, 2024

a GPU with 8 GB of memory , GTX 1070 , is it enough memory to run test ?

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.