Comments (4)
I ran into the same problem...
from caffe-segnet.
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.
@cvDreamer, but where can i find this upsample_layer.cpp?
thanks
from caffe-segnet.
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)
- About Run In C++
- Separate input concatenation in segnet
- Caffe2 caffe-segnet HOT 2
- make runtest fail HOT 4
- Reducing the noise in a image
- Error occurred when make resource code
- Which file does caffe execute when implementing convolutional operation?
- CUDNN version
- Caffe-SegNet installation on Windows
- All indices of the max locations will be stored and passed to the decoder during pooling?
- Hey - it doesn't make sense to train segnet on a single class. In this situation, segnet will simply learn to predict every pixel as this class, and you will see loss=0. HOT 1
- Help for implementing SegNet for predicting Single class
- Check failed: error == cudaSuccess (77 vs. 0) an illegal memory access was encountered HOT 2
- make problem
- make error
- nvcc fatal: redefinition of argument 'compiler-bindir'
- what is the softmax uncertainty in Bayesian Segnet paper?
- changing the number of classes in segnet produce error: cudaSuccess (700 vs. 0) an illegal memory access was encountered. HOT 1
- Try-demo issues about website http://mi.eng.cam.ac.uk/projects/segnet/demo.php
- why last prediction layer is 3x3 convolution??
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from caffe-segnet.