Giter Site home page Giter Site logo

Comments (4)

albertxavier001 avatar albertxavier001 commented on August 16, 2024

I ran into the same problem...

from caffe-segnet.

cvDreamer avatar cvDreamer commented on August 16, 2024

It seems the solution is here: #5

By commenting out two lines from upsample_layer.cpp (line 127 and 128), and rebuild, it works on CPU.

from caffe-segnet.

jonVolta avatar jonVolta commented on August 16, 2024

@cvDreamer, but where can i find this upsample_layer.cpp?
thanks

from caffe-segnet.

whyguu avatar whyguu commented on August 16, 2024

To change layer "upsample5" and "upsample4" like the followings, it seems that the upsample layer of caffe-sennet in old version does not support CPU well. I use the docker image of two years ago , and meet this problem. But I can run the basic one correctly, so I just referred to segment__basic_train.prototxt and changed segment_train.prototxt .

ps: also I got a problem that the caffe shows "Killed" when it just begin to train the net , this is result of "out of memory". I change a computer and this runs well

layer {
name: "upsample5"
type: "Upsample"
bottom: "pool5"
top: "pool5_D"
bottom: "pool5_mask"
upsample_param {
scale: 2
#upsample_w: 30
#upsample_h: 23
pad_out_h: true
}
}

layer {
name: "upsample4"
type: "Upsample"
bottom: "conv5_1_D"
top: "pool4_D"
bottom: "pool4_mask"
upsample_param {
scale: 2
#upsample_w: 60
#upsample_h: 45
pad_out_h: true
}
}

from caffe-segnet.

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.