Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/tfs/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Machine learning caffe中的旧prototxt语法_Machine Learning_Neural Network_Deep Learning_Caffe_Protocol Buffers - Fatal编程技术网

Machine learning caffe中的旧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

我在咖啡馆的一个老分店工作。现在我需要通过切片输入层来修改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_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
  }
}