Skip to content

Instantly share code, notes, and snippets.

@erogol
Created January 19, 2015 14:03
Show Gist options
  • Save erogol/7618fb7cda696236932f to your computer and use it in GitHub Desktop.
Save erogol/7618fb7cda696236932f to your computer and use it in GitHub Desktop.
maxout layer implementation for caffe library
layers {
name: "conv1A"
type: CONVOLUTION
bottom: "data"
top: "conv1A"
blobs_lr: 1
blobs_lr: 2
weight_decay: 1
weight_decay: 0
convolution_param {
num_output: 48
kernel_size: 9
stride: 1
}
}
layers {
name: "conv1B"
type: CONVOLUTION
bottom: "data"
top: "conv1B"
blobs_lr: 1
blobs_lr: 2
weight_decay: 1
weight_decay: 0
convolution_param {
num_output: 48
kernel_size: 9
stride: 1
}
}
layers {
name: "maxout1"
type: ELTWISE
bottom: "conv1A"
bottom: "conv1B"
top: "maxout1"
eltwise_param {
operation:MAX
}
}
@lucasbrynte
Copy link

I'm very new to Caffe but want to add a maxout layer in Nvidia DIGITS. I'm wondering about the "layers" keyword - haven't seen it before. At this Caffe tutorial page they only seem to use the "layer" keyword:
http://caffe.berkeleyvision.org/tutorial/layers.html

Copy link

ghost commented Jul 19, 2017

Have you tested this code?Can it run?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment