caffe的layers转layer

一、换每个层的tpye:

如DATA  -> "Data" 

 CONVOLUTION -> "Convolution"

RELU ->  "ReLU"

POOLING -> "Pooling"

ACCURACY - >"Accuracy"

SOFTMAX_LOSS - > "SoftmaxWithLoss"

INNER_PRODUCT - > "InnerProduct"

DROP_OUT - > "Dropout"

二、将

blobs_lr: 1
  blobs_lr: 2
  weight_decay: 1
  weight_decay: 0

转换为:

  param {
    lr_mult: 1
    decay_mult: 1
  }
  param {
    lr_mult: 2
    decay_mult: 0
  }

三、将layers转换为layer

你可能感兴趣的:(caffe)