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

我在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)