如何将caffe图层转换为keras图层?

时间:2018-12-08 04:12:51

标签: keras caffe keras-layer keras-2 caffe2

我在caffe prototxt文件中找到了以下几层:

layer {
  name: "before_proj"
  type: "Silence"
  bottom: "xxxbefore_proj"
}

layer {
  name: "1_before_proj"
  type: "InnerProduct"
  bottom: "conv4f"
  top: "xxx1_before_proj"
  param {
    lr_mult: 1
  }
  inner_product_param {
    num_output: 200
    weight_filler {
      type: "xavier"
    }
    bias_filler {
      type: "constant"
      value: 0
    }
  }
}

layer {
  name: "concat_pred_rendered"
  type: "Concat"
  bottom: "conv4f"
  bottom: "conv_rendered_3"
  top: "conv4f_ext"
  concat_param {
    axis: 1
  }
}

如何将它们转换为keras图层?任何提示都欢迎。谢谢

0 个答案:

没有答案