1

我在 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 图层?欢迎任何提示。谢谢

4

0 回答 0