Machine learning caffe中的旧prototxt语法
我在咖啡馆的一个老分店工作。现在我需要通过切片输入层来修改prototxt文件 我知道,在新语法中,它是这样的:Machine learning caffe中的旧prototxt语法,machine-learning,neural-network,deep-learning,caffe,protocol-buffers,Machine Learning,Neural Network,Deep Learning,Caffe,Protocol Buffers,我在咖啡馆的一个老分店工作。现在我需要通过切片输入层来修改prototxt文件 我知道,在新语法中,它是这样的: layer { name: "slice" type: "Slice" bottom: "labelAndMask" ## Example of layer with a shape N x 5 x Height x Width top: "label" top: "mask" slice_param { axis: 1 slice_poi
layer {
name: "slice"
type: "Slice"
bottom: "labelAndMask"
## Example of layer with a shape N x 5 x Height x Width
top: "label"
top: "mask"
slice_param {
axis: 1
slice_point: 1
}
}
旧prototxt格式中的等效格式是什么?此外,我可以在caffe资料中的何处自己查找此信息?您应该查看的底部,您将看到
V1LayerParameter
定义
对于旧语法切片层:
layers {
type: SLICE # this is NOT a string, but an enum
name: "slice"
bottom: "labelAndMask"
## Example of layer with a shape N x 5 x Height x Width
top: "label"
top: "mask"
slice_param {
axis: 1
slice_point: 1
}
}
您应该查看的底部,您将看到
V1LayerParameter
定义
对于旧语法切片层:
layers {
type: SLICE # this is NOT a string, but an enum
name: "slice"
bottom: "labelAndMask"
## Example of layer with a shape N x 5 x Height x Width
top: "label"
top: "mask"
slice_param {
axis: 1
slice_point: 1
}
}